visual-studio-2008

making Transparent, unclickable areas in a userControl/pictureBox

hello. I have a userControl with a picturebox in it. I need the areas of the userControl to be transparent and unclickable on the main form. After some searching Ive come up with this. http://msdn.microsoft.com/en-us/library/aa235175(VS.60).aspx but it doesn't seem to work. I have it set up so the usercontrol can be drag-and-dropped. bu...

progress web service not working in visual studio

I am trying to add a web refernce to my project but it return me the following error Unable to import binding 'SecurityMgtObj' from namespace 'urn:services-progress-com:Sheffield_wsa'. Web service: http://www.expressway.com.au:8080/wsa/wsa1/wsdl?targetURI=urn:services-progress-com:Sheffield_wsa ...

Register for COM Interop

When the Register for COM Interop option in the build properties is checked, I get an error: Cannot register assembly -access denied When the option is unchecked, the project builds without any error. But my requirement is to register the COM objects as I need to use the same in VB. Can anyone help me out in this? ...

Why is the VS 2010 debugger popping up when I'm trying to debug a VS 2008 app?

I'm trying to debug an ASP.NET 3.5 app, which I've recently migrated from VS 2005. (This uses Crystal Reports 11 Release 2, but I don't know if that comes into what's causing me problems, or not.) This app uses Active Directory for authentication. I'll have the app opened in VS 2008, and then press the F5 key to start debugging. Shor...

Visual Studio 2008 SP1 freezes while running webtests in windows R2 2008

I have installed Visual studio 2008 with SP1 on Windows R2 2008. When I try to run webtests (which previously ran in VS2008 on Windows 7) I get an error message saying "Test Not Executed with a warning message". After this error message is displayed Visual studio just freezes. I am unable to click and open any other tests. The only way ...

Why I lost input focus in visual studio 2005/2008

I wrote a Add-In for Visual Studio 2005/2008. It will prompt a window with some edit controls as child windows. But if open VS with a document and then open my Add-In, those child edit controls will lose input focus when type Tab/Delete/Backsapace/Ctrl-C etc. without any document and then open my Add-In, it is OK. I think I found th...

Export Import error 'SSIS Data Flow Task could not be created' … registering DTSPipeline.dll, cannot create task “STOCK:PipelineTask”

I'm about to throw in the towel on this one. Running SQL Server 2008 enterprise on Windows 7 x64. Can't get past this issue. When I try to Import / Export Data from databases through SQL Server Management Studio I get the following Error. Error: TITLE: SQL Server Import and Export Wizard ------------------------------ The SSIS Data ...

How to downgrade from SQL Server Express 2008 to SQL Server Express 2005?

Hi friends, I was using Visual Studio 2008, and I use service based database, then one day I installed Visual Studio C# Express 2010, which automatically upgraded my SQL Server the 2008 Express edition. But I want to use Visual Studio 2008, but it does not support SQL Server 2008. So, please give me the method to downgrade from SQL Ser...

How to resolve a stack trace in visual studio 2008

Hi, I'm developing an ASP.NET website in viusal studio 2008, the thing is that I changed a line in the code, this change trows an exception (NullReferenceException) at runtime, after I change the line back it still trows the same exception, I want to follow the stack trace to look into the error and solve it, can you guys give some tips?...

Help with sending text thou TCP/IP or LAN

Hey all i am trying to send a text message from a virtual machine (VMWARE) to my local machine so that i can hit a button in the VM and have it do something on the local. Is there anyway to send a text through an IP, TCP/IP, LAN using VB6 or VB.net? I was looking at the net send to send something but it doesn't seem to work for me (as w...

Building an MSI/Setup with VS2008 - How to Create Sub-Folders for Logs and Temporary Files

Hello...I have built a C#.NET WinForms App. I now need to build a MSI installer for the same so that I can ship it to my clients. I am stuck at the following place. I use log4net for Logging. How do I write my App.Config in such a way that the LogFile folder is based on where my end user installs the Application. That is, if my end ...

DllMain not being called

Hi, I have a DllMain defined as so: BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { int i=0, DoHijack=0; switch (ul_reason_for_call) { case DLL_PROCESS_ATTACH: hMod = hModule; hProcessCenter = ::FindWindow(NULL, _T("Form1")); ...

Visual Studio Setup Deployment Project - How to Specify File System Installation Folder

Hello...How do I specify Default Location of where my Product is to be installed and create additional folders for Log Files, Temporary Files? For instance, if I decide to install every instance of my application in the path C:\Documents and Settings\\Application Data\ is where I want to install my Application, that is, the DLL's, Exe...

c++ fatal error C1061 with large switch, metaprogramming

that's the code: static inline void shrinkData(const vector<Data> &data, unsigned short shrinkType){ #define CASE_N(N) \ case(N): \ ptr = MemoryManager::requestMemory(n*sizeof(ShrinkData<N>)); \ for(int i=0; i<n; i++){ \ new(ptr) ShrinkData<N>(data[i]); \ ptr+=sizeof(ShrinkData<N>); \ ...

Removing an installed shortcut when application is uninstalled in Visual Studio 2008

Hi guys, I have a Visual Studio deployment project that installs my application. For this application, I create a shortcut and then place shortcut into a special folder. I would like this shortcut to be deleted when the application is uninstalled. Is there any way to do this without resorting to custom actions? Thanks, kreb ...

Sql Server Reporting Service Problem

I have a assignment question. How to integrate Sql Server Reporting Service (SSRS) with visual studio? i know that when you have installed BI tools it's possible to create SSRS reports as a Visual Studio Project. I'm not sure about the answer to the above question. Can some one help me regarding this..... ...

Is SQLite DataSource compatible with Crystal Reports?

I am thinking to use SQLite for the newer version of my app. Is SQLite compatible with Crystal Reports? I am using VS2008. ...

Treeview - How to "delete" unwanted node lines programmatically

Hi, my treeview consists of the newslines with dates. The user can filter by specifing "today", under 1 week", "under 1 month", etc to make Treeview's list shorter or longer. For shorter list, I can remove the older lines that have no child nodes. I am struggling to find the method how to remove or hide the older lines with child nodes...

StackoverflowException in IIS7 but not in Cassini

I have some C# code that is giving a StackOverflowException when running under IIS7 but when it is run under Cassini in VS2008 then the code runs fine. Is this a known issue whereby Cassini handles these kinds of exceptions differently? ...

BadPtr after several iterations

Hello guys, C++. Its may be more question of debugging in Visual Studio and working with memory. I have a program that analyzes list of files, and path to current file is a concatenation of to strings: CString object named 'folder' and filename itself(CString too). But after 144'th iteration(im sure the number is unimportant), folder ...