Jillaint's Q&A profile
Visual Basic datagrid autosize column: how?
How to autosize datagrid's column width to fit the contents of a field in VB.NET Hello There is a good sample on this on SyncFusion.com http://syncfusion.com/faq/windowsforms/search/877.aspx . Also there are many other datagrid samples on this link http://syncfusion.com/faq/windowsforms/search/877.aspx . Thanks Sunder vb.net ...Show All
Windows Forms Problem with UserControl Showing up in IE
I have a user control I've created. On a remote machine it is getting downloaded and shows up in IE fine. On my Development machine, where I am serving the page and object from, I intermittently run into problems with it not showing up in ...Show All
Visual Studio Express Editions Registration Benefits?
I've got the Registration e-mail and followed the link for the Registration Benefit Portal. I get to a site called Microsoft Connect, and I can't find anything related to Visual Basic Express. Can anyone help my To me it looks like it's a wrong website I've got a link to... Did you click MyParticipation It should show a link to the Visual Studio Benefits Portal . This link should take you right there ...Show All
Visual Studio Express Editions dumb newcomer question
Hi all I know this may sound dumb but can anyone tell me what visual basic is for from my understanding....c++ is for progamming visual web developer is for web desigh direct x is for making games and sql is for server stuff...... so what about vb I mean I can desigh a form with a couple of buttons which when clicked will load another form.......I can display a photo and even make a simple animation... but I can do th ...Show All
SQL Server I TRIED THE PACKAGE AND IT FAILS ALL THE TIME
I think I am missing something, and this something I could achieve with Enterprise Manager. How do I copy one object, lke a table, including primary keys, indexed and triggers, plus data, from one SQL Server to another, or a set of tables I am at a loss. Of I choose "Copy Data", that is not the same because the table data is copied, but nothing else, not even the primary key gets transferred. So the arriving table is --quite frankly-- usele ...Show All
SQL Server SQL Native Client Issue
I downloaded and installed Visual Basic 2005 Express Edition, followed by Sql Server 2005 Express Edition. When I ran the command SQLCMD -S SERVER/SQLEXPRESS I got the following error: **** HResult 0x35, Level 16, State 1 Named Pipes Provider: Could not open a connection to SQL Server [53]. Sqlcmd: Error: Microsoft SQL Native Client : An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this fa ...Show All
Visual C++ WinSock programming
Where can I get some tutorials about WinSock programming in C++ for Windows 98 and NT based (XP, 2003) Have you read this: http://msdn.microsoft.com/library/default.asp url=/library/en-us/winsock/winsock/windows_sockets_start_page_2.asp ...Show All
Visual C# store image
Hi can anyone write an snippet code to store image in database with binary shape(code) not an image Here is a little example: Image image = Image.FromFile(@"c:\myimage.bmp"); using (MemoryStream stream = new MemoryStream()) { image.Save( stream ); byte [] buffer = steam.ToByteArray(); SaveImage( "myimage", buffer ); } public static SaveImage( string name, byte [] imageData ) { //use th ...Show All
Visual Studio enable/disable - wizard navigation buttons
I am trying to programatically disable my custom wizard page's Next button using the EnableStep method of the wizard class. this .EnableStep( false ); But this isn't working. Is there any other way to control the enable property of the different wizard buttons Try this: bool enable = /* however you want to set it */ false; Wizard.EnableButton(Microsoft.WizardFramework.ButtonType.Next, enable); ...Show All
Visual C++ Tab in a splitter window
Hi I am trying to create a splitter pane that has the following: Information bar (located on the left hand side) Tab (located on the top half of the window) Edit window(located on bottom half of the window) The information bar and the edit window is fine but it doesn't seem to work with the tab window. What can I do This forum is for general C++ compiler and IDE issues. For Win32 programming issu ...Show All
Windows Forms IEExec Loads, but form load delayed 90 seconds...
I'm playing with deploying my application via smart client. I believe I have everything setup properly. I gave .NET Framework Full Trust to the URL that calls the .exe, and it now seems to load my program, but I cannot see the form. ...Show All
Visual Studio Problem with SS and VS Database Projects
Hi, we have a problem with Source Safe binding and database projects in Visual Studio. To reproduce the issue do the following: person A adds a script and checks out the project file person B adds a script too but gets the "already checked out by another user" message person B tries to add a script again and it works!!!! Without error message or something like that. The file is in Source safe but not in the projec ...Show All
Windows Forms User Control Problem
Hi all. I added a user control to my vs2005 project. Now, I want to use it on the forms that I need. The question is, shouldn't the user control appear in the toolbox I cant see the user control there, where can I find it, and how can I add it to a form on the same project Am I missing something Thanks in advance for your help Regards LFS Hi all. I found the solution ...Show All
.NET Development All about StrongNameIdentityPermission & Assembly signing
Hi All I'm using v1.1 I’m about to create a Strong Name with public/private key from sn tool and I’ll sign this to my Executable and DLLs I wanted to secure a method such that only the assembly which I’ve signed with my key can call the method. I’m decorating my method with StrongNameIdentityPermission. So on implementing this I’ve some queries 1. what is the difference b ...Show All
Visual Studio Express Editions Delaying a program
I am wondering if there is a built in function for delaying a program in C# Something akin to C++'s "System("SLEEP")". I tried typing "System.Sleep();" in my program code, but that didn't seem to compile. If there isn't such a function in C#, how would I go about writing one Seeing as I'm a complete newbie when it comes to C#, I wouldn't know this. :( You can use the following Fu ...Show All
