Answer Questions
Jeejangs Unable to build application from a project when not connected to a network
Hi all: I used my company laptop at home (with wi-fi) and tried to "build" an application. It always failed. It even failed on a project with one form and no other object. The error message was: "Unable to write to output file 'C:\Documents and Settings\user\Local Settings\Application Data\Temporary Projects\WindowsApplication1\obj\Release\WindowsApplication1.exe': The specified image file did not contain a resource section." & ...Show All
GiulioPetrucci 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 Think of SQL as an entirely differen ...Show All
gc1848 Creating A Screensaver
I am wondering if anyone could help me to create easily a cool screensaver. Thanks. From MSDN Library: ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.KB.v10.en/enu_kbvbnetkb/vbnetkb/818359.htm Or online @ http://support.microsoft.com/default.aspx scid=kb;en-us;818359 You drag it off the toolbox and drop it onto the form. Are you able to see the toolbox and form Is the Label control on the toolbox Adam Braden Visual Basic Tea ...Show All
E Ingram A way to swap variables?
Does VB provide an easy way to swap the contents of 2 variables without having to use an intermediate variable Thanks... x ^= y; y ^= x; x ^= y; will swap x and y. That's in C#. Not sure how to do the exclusive-or operator in VB. I'm sure someone else does though. hi, once i saw a blog did that in C# using binary shifting operators but unfortunatly ...Show All
Eric Perlin Cannot publish my project..!
Hello, I just made my first program in Visual Basic 2005 Express Edition Beta 2, it runs fine when I press "start debugging" (no errors or anything), but when I try to build>publish it I get the following 4 warnings: - Warning 1 Could not find resources for culture 'en-US'. Using culture 'en' instead. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Microsoft.Common.targets 0 0 - Warning 2 Could not match ...Show All
briartoys obfuscator use in express?
I've just been using Reflector and it has scared me into looking at obfuscating techniques. What can be done for an express user deploying using clickonce I was talking in general, but for my current application, it is just a simple GUI for a SQL Server DB. No remoting or reflection. Hi, It depends on what all you have used in your application. Some aspects such as Reflec ...Show All
Dan B. Setting the opacity
For some reason the opacity is not applying. It will ajust from 50 to 100 but not from 100 to 50. I have a checkbox in place to do this. Here is my code: Private Sub CheckBox2_CheckedChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox2.CheckedChanged If CheckBox2.Checked = True Then Me .Opacity = 50 Exit Sub End If If CheckBox2.Checked = False Then Me .Opacity = 100 E ...Show All
Tinamus Floating Toolbars
Hello, the toolstrip/toolbar in c# 2005 express looks like the one in the IDE. It has a gripper on the left like the IDE but is disabled meaning the bar can't float. Is it posible to float a toolbar or is this a feature of the IDE but something we will have to program ourselves. Thanks. hi, first you have to add a toolstripcontainer to your form, then add the toolbars to this toolstripcontainer to be able to ...Show All
Christian Wade SQL Server 2005 Express Edition April CTP fails to install
I have spent the last hour trying to find other cases of the same install error on the web, but w/o luck. Does anyone know how to fix the following. I have Windows XP SP2 with VS 2005 Beta 2 (April 2005). When trying to install the "SQL Server 2005 Express Edition April CTP" I'm getting an error at the end of the install. Here's some of the messages: The initial error dialog: "Microsoft SQL Server 2005 CTP Setup" (window title) Mi ...Show All
johnko Using the graphics class
I want to draw a set of lines on my form when it loads not by using the paint event. And I want to be able to draw in a function but that seems impossible at the moment without using the Paint event. This is my code to draw my shape when the form loads : Graphics.DrawLine(Pens.Black, 10, TextBox1.Height + 20, 10, TextBox1.Height + 220) Graphics.DrawLine(Pens.Black, 10, TextBox1.Height + 220, 210, TextBox1.Height + 220)Graphics.DrawLine(Pe ...Show All
Ville Mattila PSDK install fails
Error 1329. A file that is required cannot be installed because the cabinet file C:\Windows\Installer\MSI504.tmp is not digitally signed. This may indicate that the cabinet file is corrupt. (C:\Windows\Installer - not a valid directory btw, must be part of the PSDK install ) This was the march 06 x86 build. Running xp sp2 build 2600. error was thrown while installing this file... C:\Program Files\Microsoft Platform SDK for Windows Server 20 ...Show All
bennykfc Parent Child Communication
Helloooo.! I want to know how we can do parent child communication in our application. I am using Visual Studio 2005 express edition. If anyone have reading material no it plzzz send me toooo Thankyou Attach a method of the parent form to the validate event of the child form. . . . This is c# because vb is not worth using. . . assumes a form, called ChildForm, has two buttons, one with a dialog result of DialogResu ...Show All
BlackGrouse Access Database Connection,
Dear Friends, I am very much familir in VB 6.0 but I need to develop a similar project in VB 2005. I use the following code and variables for my database caonnection. Public db, db1 As Database Public rs, rsFDEprod, rsFDEtime, rsOPSprod, rsOPStime, rsANAprod, rsANAtime, rsQA As Recordset Public Function connect() Set db = OpenDatabase("C:\Documents and Settings\bedwin\My Documents\EX1.mdb") Set rs = db.OpenRecordset("s ...Show All
CyberJP PauseTime
Hello all In VB6 I could pause an event by using the PauseTime property "eg: PauseTime = 0.01). How do you pause time in VB 2005 Express Thanks all I would think more about using a timer control and implementing something in the tick event than using a threading sleep. Using threading sleep would make this application pretty unresponsive. The timer design would say every (tick interval) calculat ...Show All
emp How do I add a binary registry key to the registry?
I am currently trying to add a key to the registry with: Dim location As String = "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout" My .Computer.Registry.SetValue(location, "Scancode Map" , "00,00,00,00,00,00,00,00,03,00,00,00,00,00,5b,e0,00,00,5c,e0,00,00,00,00" , Microsoft.Win32.RegistryValueKind.Binary) but i get an error when I add the Microsoft.Win32.RegistryValueKind.Bina ...Show All
