Answer Questions
ijemiD what did I miss in com interop?
I am just trying C# express 2005 ( beta 2) from a limited XP pro user account. I setup a C# assembly as COM component for interop with some legacy application that can use either COM interface or the traditiona Native DLL interface. I ran into some rather unspecified errrors. I suspect its either the name space that I got wrong or something with my code or project setup. what did I miss in the following project info P ...Show All
fugacity Unable to add data connection. Key not valid for use in specified state.
Using Visual Studio 2005, I am no longer able to add data connections to my projects. After testing the connection to an existing database and clicking OK, I get the 2-line message "Unable to add data connection. Key not valid for use in specified state." I am able to work with the databases using sqlcmd and SQL Server Express Manager. hey Ali, If you could explain me what you did. That would be helpful. Im ...Show All
RSchoe_MS Beginner Question
OK, I had a little work with an older VB Version.....but now I'm trying Express I open a new project and add a form and everything is fine. I save my work but when i go to reopen the project i can't see the form, but i can view the code fine. The only way i can visually see the form is to Play/Run the debugger, which is useless if i can't make changes. With Express is this limited Cool - the F7, Sh ...Show All
urs_r Replacement of Winsock in Visual Basic 6?
Hello Microsoft. Is there anyway to make any replacement of the Winsock Protocol in Visual Basic 6 Mathy wrote: Mathy wrote: I didn't actually understand any of those posts, since I want to be just as fimiliar to Sockets here as WinSockets in VB6. I don't understand the events of it or anything, or even how to place the socket on a form. Also, I want to know what all that D ...Show All
Dan Fisherman Installed But It's Not There
I have tried installing VB Express and VC Express - both from web and installation image CD. It looks like the install works - no errors. Yet even after a reboot I do not have anything in my program group to allow me to start it. I get a c:\program files\microsoft visual studio 8\ folder and subfolders, but I don't see a way to launch VB Express or VC Express. I'm on WinXP SP2. Can any one give me a suggestion ...Show All
Kumar PDV Visual Studio 2005 = very unstable !!!
Out of frustration, I'd like to warn you all that the release of Visual Studio 2005 is horribly unstable !! Please beware before upgrading. We've upgraded and it wasn't worth it. I regret it ! Further discussion on this topic can be found on another one of my threads:http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=159388&SiteID=1 We have both the Express Edit ...Show All
yodlle Using ODE in 2005 Problems
Currently I am in the process of converting source from Visual C++ 2003 (7.1 Plaform SDK from DVD) to Visual C++ 2005 (8.0 Platform SDK 2003 SP1). While I have found the following code will compile fine in 2003, when moving to 2005. It doesn't like it as much. #include <windows.h> #include "ode/ode.h" #pragma comment (lib, "ode.lib") # define DARKSDK __declspec ( dllexport ) class ODEPhysics { dWorldID World; dSpac ...Show All
Fr&#233;d&#233;ric Degraeve c# pointers
A need help and hope someone here can help me!! A long time ago I used c++ and used pointer but now moved over to c# and havent programmed for a while! my problem is: I have a picturebox that contains a number of rich text boxes (dont ask why!! :D ) what I want to do is enable bold on all of the richtextboxes with only using reference to the picture box (called pbxContainer ) this is all the code I have written before a blank: privat ...Show All
vlain Correct module handle
Hi. How I can obtain a module handle to current dynamic link library (within itself) loaded by an another process I need a module handle within a library loaded by an application, but GetModuleHandle return an handle to application module instead to library module . For example. I put this code within a library function. LPWCH lpModuleName = new WCHAR [MAX_PATH]; GetModuleFileName (GetModuleHandle (0), lpModuleName, MAX_PATH); ...Show All
jn____ Add Record
I'm able to display data from my database with this code but can't add a new record. What am I doing wrong Dim MyConn As New OleDb.OleDbConnection( "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\db.mdb" ) Dim MyComm As OleDb.OleDbCommand Dim strSQL As String MyConn.Open() strSQL = "INSERT INTO [Names] (LastName, FirstName) VALUES ('" & LastNameTextBox.Text & &qu ...Show All
Olivier Sanzot Can not use a Sub using graphics
This is my code. Sub Proces( ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me .Paint Dim i, j As Integer For i = 0 To 200 For j = 0 To 200 If rd < alpha Then If grid(i, j) = 0 Then grid(i, j) = 1 aantal = aantal + 1 e.Graphics.DrawRectangle(Pens.Beige, i + 10, j + TextBox1.Height, 1, 1) End If End If Next Next rd = randomgen.NextDouble() Label1.Text = CStr (rd) E nd Sub I can n ...Show All
clientserver MOdules/Functions
Hi, Could anyone explain me the difference between a function and a module and aan example or way to difference them in VB.NET Thanks. A function is an executable routine, which has intputs and returns a value.... It might look like this: Protected Function Add (byval Val1 as integer, byval val2 as integer) as integer return val1 + val2 end Function This function return the sum of v ...Show All
Aaron Steers VB Lessons
How do i download the VB lessons. When i click on the link, it streams to my wmp. The quality is bad, it'd be much better if i were able to download them. LOL! I"m not that noobie!. When i right click, the "save target as" is faded out and i cannot select that option. Point to Download Lesson..... Right Click.... Click on - Save Target As .... And Away You Go..... Cheers ...Show All
Mike in Paradise Membership Provider..?
Hi. I created an Login-Form in Visual Basic.NET Express edition. Now I want, that the Application validate the typed username and password in the login-form with an online MySQL database. I already found an tutorial from MS, but it wasn't usefull, becouse i needed MS Visual Studio. Can anyone help me Micronax Thanks.. both looks great, but there is written " Modify your web.config using the following template (if you are on a sha ...Show All
Rochee combine and manipulate multiple fields from DB record, into a new textbox???
hi dudes and dudettes, i'm just starting out with database stuff. i've got my databse table (using the descriptive method so the output appears in textboxes) and a binding navigator added to a form and i want to combine about four fields only from my current record into a new textbox to combine them with some autogenerated html tags. the idea with the app is to have the current record in the database in view on the left of my form with ...Show All
