Answer Questions
bla44 Failed To generate a user instance of sql server
Problem : i am using Microsoft Visual Basic 2005 Express Edition and SQL Server 2005 Express Edition. Now i connecting to sql Server via Visual Basic 2005. Once i create a new Connection (Use SQl Server Authentication) user Name sa and our password. But this connection generate "Failed to generate a user instance of SQL Server. Only an integrated connection can generate a user instance. the connection will be closed". How to solve t ...Show All
Andy Tso Problem with my VB program!
Public Class Form1 Private Sub Label2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label2.Click End Sub Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Dim mail As New Net.Mail.MailMessage() mail.From = New Net.Mail.MailAddress("soda_91@hotmail.com") mail.To.Add("soda_91@hotmail.com") ...Show All
MRoy Open an excel workbook from My.Resources
Hi! I have an Excel workbook in My.Resources. I want to open it when I use a button. I don't know how to do it Do you have any idea I can do it by opening the file from its adress (see bellow). I want to do the same job with the excel file from the Resources. Thanks for your help.... Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click xlsApp = New Excel.Applic ...Show All
rufuskes How do I create command line software that works in MS-DOS mode?
Hi, I was wondering why the console app that I made works in the MS-DOS prompt under Windows, but doesn't work under MS-DOS mode, when booting from an emergency disk. Any ideas By the way, would a simple console C++ app with just the standard library, IOSTREAM and something to read and write files, work on a bootable disk in MS-DOS mode Aww... Is there any way to disable the .NET framework and use a simpler framework And if so, how ...Show All
Jordi Serres Has anyone received information regarding how to access the free online books
I read that after activating the 2005 Express editions one would get access to three free online books but I haven't received any such information from Microsoft. I am wondering whether anyone else has received any information regarding how to access those free online books. Thanks! Yes, I received it, but it also took them several weeks. Just wait. The link and access code to eReference boo ...Show All
LTA Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control.
I have the following structure 2 combos, the 2nd dependant on the first - and when I change the first combo the pages refreshes with error Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control. Which i assume has something to do with the 2nd combo rebinding and breaking the binding of the FormView. Have seen this prob around but can find a solution.. Any ideas Nik < asp : Form ...Show All
FabioProgram Problem with SQL query
Hi I'm trying to write a query ---------------------------------------------- SELECT field1, field2, field3 FROM table WHERE field1=form.textfield ----------------------------------------------- Where form.textfield is a link to textbox in form. It doesnt understand this link. In previous versions (VB6) it works. Is there any changes in syntax in new VS Do not concatenate user input to a s ...Show All
virtually_john Paint Problem at MDIChild at Opening at Startup in Maximized State
Hi guyz, I have one MDI form and one MDI Child. Both form's property windowsstate=maximized. When MDI form loads, its child forms load at the load event of MDI. But, It not paints that child form properly to maximized area. there is border appears of that child forms without title. Once we minimize that bad painted form and again maximize it. it works fine.. So, why its doing problem at startup in maximized mode I've just transfered my winapp ...Show All
Erik McCarty NEWBIE BEGINNER
I am Very Raw at this. I have visually constructed a Windows App. But now I don't have the slightest clue how to "Tell" It what I want it to do. I have various text boxes for inputing numbers. I want to do math equations. Example...as an investment calculator and a mortgage calculator. I would like to hit the "Button" and run the calculations. I don't even know where to start. I know NO code at all and can't seem ...Show All
cesar.fong HOW-TO: Use Enterprise Services to notify Windows app of ASP.NET
(Excuse the cross post, but I can't remember who it was that asked) someone was asking how to do this so I thought you might be interested. A link to a how to: HOW-TO: Use Enterprise Services to notify Windows app of ASP.NET ... ...Show All
Michel GUINTOLI registration
Is there any way to find out what your registration key was if you lost it From inside Visual Studio, click on the "Help" menu and select the "Register Product..." option. Go through the process as if you were registering the product a second time (the registration fields will be prepopulated for you, so it will only take a few seconds). The registration key will be displayed at the end of the proc ...Show All
ORState Thank you for the video series!
I have to say a big thank you to whomever made the decision to post the learning videos to http://msdn.microsoft.com/vstudio/express/visualcsharp/learning/default.aspx These videos are excellent and have helped me learn the VC# IDE very quickly! If they weren't there I would have had one heck of a time transitioning from a non-gui environment programming console in C++ (on Linux) to the windows programming. I have sat the past few days trying ...Show All
fstfwd74 Icons for my Application????
HI all., I'm Back due to the spedd and accuracy of the help I received with my last question! This may seem obivious or silly to some- but how do I control what icon windows uses for my application when veiwed in an explorer window Is this even do-able in VC++ Exp Ed I've tried the form icon field in Designer, but that only seems to set the icon for the taskbar. Again, any help would be greatly appreciated. Cherrs DT. ...Show All
Bob Schmidt Namespace missing? + Running from shared drives...
I am trying to create an application that will send emails in response to given events... however, all of the code examples I've found reference system.net.mail When I try to add the reference (Project, Add Reference...) there is no sign of system.net or system.net.mail Can anyone tell me why this might be missing, or how to get it to appear I am creating a console program if that is any help. Also, when I try to run my bui ...Show All
Claude Eisenhut Trouble linking classes I write to a form
Hi, this I am pretty new to windows programing and ive been trying to create an application using c++.net. The user interface is a windows form, but there are other classes ive written to do other things behind the scenes. I want my classes to be able to access data from the form, such as the values of numericalUpDown controls. I made a data member in my own class which contains a pointer of type 'form' so that I could access my forms properties ...Show All
