visual-studio-2008

How to stay connected to database until screen close?

杀马特。学长 韩版系。学妹 提交于 2019-12-12 03:09:08
问题 I developed a C# program for Windows-CE platform. The program open and close the connection to the database for every single interaction. See the code below. Button click: private void btnStkIn_Click(object sender, EventArgs e) { formStockIn = new frmStkIn(); formStockIn.Show(); } Select Data: try { using (SqlConnection sqlConn = new SqlConnection(<connection-string>)) { sqlConn.Open(); //Execute command SqlCommand sqlCmd = new SqlCommand(<Select Query>, sqlConn); SqlDataReader sqlReader =

Windows CE 6 remote debugging. No call stack when pause program

时间秒杀一切 提交于 2019-12-12 03:06:42
问题 I am using Visual Studio 2008 for a remote debugging session with WindowsCE 6.0. When I click 'Pause' I cannot see the program call stack. Instead of a call stack with any functions of my program I just see a single address. I am using the debug technique described here (or in German here) 回答1: Your "pause" likely stopped the application somewhere in a system call so there's no "line of code" to show. Set an actual breakpoint in your code and run to that. You'll then get a call stack and all

Is possible to use jQuery intellisense with classic asp?

主宰稳场 提交于 2019-12-12 02:58:56
问题 I read about jQuery intellisense and couldnt get it working in my classic asps pages.. Is it possible? If it yes what should i do? I am using VS2008 SP1... Thanks 回答1: You may need to install the microsoft hotfix. this has been covered in the following StackOverflow question: Visual Web Developer - jQuery Intellisense not showing You can also check this article out: JQuery 1.3.2 vsdoc does not produce Visual Studio intellisense 来源: https://stackoverflow.com/questions/1255497/is-possible-to

Formatting Vertical Details Lines in Crystal Reports

旧街凉风 提交于 2019-12-12 02:55:11
问题 I'm using Crystal Reports for VS 2008 and having trouble formatting vertical table lines in the details section. Too Short When I adjust the height of the line to exactly the height of the bottom of the section: Then the line doesn't get applied to any items after the first in the list: Too Long If I drag it past the bottom of that section, then it runs amok and fills up the entire page Looks like this: Failed Attempts I've tried a bunch of different section and line heights. I've tried right

Building libcurl library in Visual Studio 2008

巧了我就是萌 提交于 2019-12-12 02:48:22
问题 I am trying to build libcurl from its source code. I have tried almost everything that has been answered on any forum ever but no success. Can anyone please tell me how to do it? I found this question Building libcurl library in c++, Noob Question but the solution doesn't work for me then I found this guide http://curl.haxx.se/libcurl/c/Using-libcurl-with-SSH-support-in-Visual-Studio-2008.pdf I followed every step, things went smooth until the end of section 3.4 of document, when I try to

Debugging Classic asp Visual Studio 2008 IIS 8

泄露秘密 提交于 2019-12-12 02:46:49
问题 Things I've done: On both the default website and my virtual folder in IIS Manager -Enabled Parent Paths -Set Enable Server Side Debugging to be True Set Breakpoints in my code by 1) F9 2) Using the Stop command 3) Purposefully put mispelled commands in my VBScript to force the debugger to attach I've then tried starting the website without debugging and attaching to W3wp.exe/ DLLHost.exe Have also tried running the website in visual studio in debug mode Is there something I'm missing or

loading of iis website too slow while debugging from visual studio 2008

喜夏-厌秋 提交于 2019-12-12 02:37:10
问题 I'm debugging a asp.net website in visual studio 2008. When I visit the website through browser (at the usual http://localhost:56789), the pages load too slow. It looks almost as if there is a single socket/connection loading all the required pages/scripts etc sequentially. If I publish the same website to a local folder and access it through the regular IIS (Windows 7/IIS 7.5), pages load really fast (as expected). Is there a way to make the pages load faster during debugging. Is there any

Converting DICOM files to text files [closed]

核能气质少年 提交于 2019-12-12 02:19:09
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I wanted to know if there's any ways i could convert DICOM files to text files(.txt or .doc)? Which would show me the attribute tags, name (if possible, not a ncecessity) , value and VR? Thanks. 回答1: The open source DICOM toolkit (DCMTK, http://dcmtk.org/) includes an application dcmdump which converts any DICOM

“Navigation to the webpage was canceled” when create new mfc project in vs2008

我是研究僧i 提交于 2019-12-12 02:13:49
问题 I have a strange problem in vs2008.When I create new MFC project this popup window open with messege "Navigation to the webpage was canceled." I have been repair my visual studio but the problem remains there. After turn off Internet Explorer from Windows features. 来源: https://stackoverflow.com/questions/12210566/navigation-to-the-webpage-was-canceled-when-create-new-mfc-project-in-vs2008

Visual Studio 2008 Debugging large c file

删除回忆录丶 提交于 2019-12-12 02:07:24
问题 I am debugging a very large c file . It is approx 70000+ lines of code. The debugger is not functioning properly, However the code is compiled correctly. Is there any flag or something which needs to be set to debug this file. Edit: I have changed the location of the function from bottom of file to top it is now debugging the function as expected. Don't know the reason 回答1: The easiest solution is to split the file in two, keeping each file under 65535 lines. There is rarely a good reason to