I have created a precompiled user control. The basic steps are to create a Web Site project then publish to generate the DLL.
Then I created a Web Application project and added a reference to the DLL. In my page I registered the DLL and was able to access the control as <prefix:control_ascx ... />.
If I run without debugging Ctrl+F5,...
What is going on?! I fixed some structs, extensive amount of search/replace in my code. Then i finish and everything compiles fine, but the program crashes immediately.
This is my main function:
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow){
exit(1);
In all logics it shouldnt cras...
In vs2008 when using the debugger and copying a string's current value, automatically change
\\
to
\
I end up having to debug long paths and always get things like
"e:\\eeeee\\blah\\d\\ddd\\fff\\bbbb\\rrrrr\\rrss\\sssss\\somefile.exe"
I then I have to go manually replace every doubleslash. Is there a quick dumb way so the v...
In the code below I get the "Conversion from string "" to type 'Double' is not valid." error. Can anyone let me know why this is ? Thanks.
Public Class Form1
Dim SalesDecimal As Decimal
Const BasePay As Decimal = 250D
Const CommissionRate As Decimal = 0.15D
Dim Quota As Integer = 1000
Dim TotalSalesAmt, TotalComAmt,...
Hi
it could be that the word versus is too strong for my question but anyway here we go. I have used the Netbeans platform in the past and I was really impressed with it. I haven't tried anything however in VS (2008 my current edition). Does anyone have experience with VS on extensibility? Is it as powerful as Netbeans and can I build c...
I have an XML document and made an XSLT to output is as HTML and viewed the output in the IDE. Now I want to create an XSLT to output as text file, but the 'Show XSLT Output' only shows me the HTML. How do I switch it to the text output XSLT?
I even put in the line:
<?xml-stylesheet type="text/xsl" href="NotaryExport.xslt" ?>
...
When building C++ programs with VS2008 I occasionally get the following error message
1>Linking...
1>Embedding manifest...
1>Project : error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe'.
Restarting the build is almost always successful, so it is a mere nuisance.
I am curious as to...
Hi.
I have a VS 2008 VB.NET Solution, which is quite large. Every once in a while, if I take latest code from source control, I get hundreds of errors. These aren't real errors. They are all about classes not implementing functions/events from interfaces (which they DO implement).
"Class [class name] must implement [event or function...
I have a winform with several buttons, when I hit a button, it runs the Click Event Handler, and then the button keeps selected, so if then I hit the ENTER key in the keyboard, it will run the Click event handler for that button again.
I guess this is the default behavior for a button (keeping it selected when its clicked) but I cant f...
Hi, Should be a simple question. Using C#, all I want to do is just email to the email address associated to the default profile, how do I do this? I have the following code setup:
Outlook.Application oApp = new Outlook.Application();
Outlook._NameSpace oNameSpace = oApp.GetNamespace("MAPI");
Outlook.MAPIFolder o...
Hello,
I'm trying to debug a static library using MFC in Visual Studio 2008. When running the project in debug mode the breakpoints turn into circles and hovering over them produces the message "The breakpoint will not currently be hit. No symbols have been loaded for this document"
The project configuration is set to "Debug", and...
I asked a question recently regarding a http://stackoverflow.com/questions/3863657/peculiar-behavior-of-immediate-window-in-vs-2008 peculiar behavior that I observed in the immediate window. After some debugging I found the issue the following example can reproduce the same.
// SimpleClassLib.dll
namespace SimpleClassLib
{
...
I have a application I'm currently working on and it includes a form that allows the user to register it. I have the information stored in a string and I would like that information emailed to my gmail account. I searched online and I was able to send it using my gmail account but not everyone has gmail and the code requires a password ...
For some reason when the DebuggerDisplay attribute is used the debugger does not display the collection items. If I remove the attribute it works. I have also tried various versions of DebuggerDisplay string to see if it was my format.
Anyone know what the problem could be?
<DebuggerTypeProxy(GetType(SS_CollectionDebugView(Of IKeyIt...
I have a Windows Mobile 6 application that is trying to make a web service call to a service hosted on my local machine so I can debug the logon process with VS2008 connecting to both the emulated device and web service.
I have configured the device emulator to connect to the internet and confirmed this by doing a Bing search from IE o...
I want to set format of date to dd-mm-yyyy for control date time picker,i m able to create date time picker dynamically but can not set its format to dd-mm-yyyy
plz do needful....
...
I know I can append to a string but I want to be able to add a specific character after every 5 characters within the string
from this
string alpha = abcdefghijklmnopqrstuvwxyz
to this
string alpha = abcde-fghij-klmno-pqrst-uvwxy-z
...
Like the preview box below that take input from the textarea we are typing now.
The requirement is to retrieve HTML saved in database and preview it on the screen. Should I use label or is there any better control around?
...
Hi
I want to instantiate classes that I have written in Visual Studio 2008 and then populate a listview with these instances which resides in a form that opens up from within Visual Studio. To give you an example let's say we have a class Employee within our solution. Using VS Extensibility I would like to open a form in VS that contain...
I have a very strange problem. In my quite large project I have an extensive backend library of classes all belonging to the same Assembly. When I run the code Edit and Continue works fine in all forms and files belonging to the UI, but when I attempt to edit a class I get the "Cannot currently modify this text in the editor. It is read-...