Answer Questions
Paul Andrew (MSFT) Menu Item Checked Property Application Setting
I'm trying to bind the Checked property of a menu item to an application setting. But it just doesn't work. The item always has the checked state that I give it at design time. This works OK when I try it for a checkbox but not for a menu item. Here's the autogenerated code I have: Me .mnuasd.Checked = Global .WindowsApplication1.My.MySettings.Default.MenuChecked Me .mnuasd.CheckOnClick = True Me .mnuasd.Name = "mnuasd&qu ...Show All
Seungho Nam deploying .swf file
my application has these 2 procedures: 1. Private Sub btnHelp_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Help.ShowHelp(Me, "..\CYM HELP.chm") End Sub 2. Private Sub frmLogin_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim pro A ...Show All
Giri_Ganesh Click-Once is not so simple...
ok, here's the problem: i'm using VB.NET 2005 beta 2 all working nicely. i've made an app, debugged it and it runs all nice from the normal exe. but when i went to publish it, it seemed to work all fine until the installation page opened. i try to launch it but it says the "application is improperly formatted". clearly it isn't because i have run the bin exe many times. now, not only does the publishing not work, but when i go back to run t ...Show All
Hammad Mohib ComboBox
Hi, I have a requirement where in I have to read the data from a particular database table the structure of which is something like this ... It has a Code column, Descript column, and a host of other columns. I now have to render a dropdownlist control(not sure if I can use this control out of the box) on a form and show the descript column value as the display member and an object containing the values of other columns as the ...Show All
MarekP Connection String for VB/SQL Server Application
I have a VB application developed in VSTS 2005. This application uses OleDB Data Adapters and Datasets to connect to a local SQL Server 2005 database. This problem is that I will be deploying this application on server machines. Each target computer will have their own SQL Server 2005 database engine. The OleDB Data Adapters want ConnectionStrings that contain the computer name and Database Instance. I would like each target computer to have a u ...Show All
Logicboy VS 2005 seems unusable for large VB converted project. How do I turn off the background compiler.
VS 2005 seems unusable for large VB converted project. How do I turn off the background compiler. I have a fairly large project that I migrated from VB6 to VS2005. This is the RTM version of VS2005. There are many issues that I need to fix up in the code, but every time I change one line of code, my system runs 100% CPU for 30 seconds. This is not even close to usable. You might think I have a slow machine, but I am runni ...Show All
Josh_R Retrieve the ID of a new row
I have two table: Category and Product. The second one has a column CategoryID referring to the Category ID. Now, I need to add a the same time a row on Category and a row on Product with Product.CategoryID =Category.ID If a create a new row on Category I don't know the ID value of this, because it's autonumber and I don't set it, it's automatically created. If I have to create just after that the row on Product, how can I set the CategoryI ...Show All
DemonEyesKyo May i know what happen here??
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click PictureBox1.Image = "1.JPEG" Label1.Text = "what text" End Sub when i clck this button, the text "what text" will appear. but the picture stil can;t be display. the error showed is " value of type string cannot be converted to 'System.Drawing.Image'" May i know what happen> I ...Show All
Omar Naeem DataAdapter Select Statement
To all I'm VS2003, when I try and create a dataadapter with more than 100 fields (either through drag-n-drop or manually) I received "There were errors configuring the dataadapter". Since the table is in SQL 2000, I tried using: "Select * From inmast" which returns 143 columns and all rows from the table I even tried importing the table in MS Access 2003 with the same results. If I reduce the # of fields to 100 or below the dataadapter will work ...Show All
Pat. Help with managing processes
Hi, i have started to build a antispyware program. Now, i want to make the resistant shield that stops spyware running at a process. Then i want to make something that detects sort of processes ex : istsvc.exe(istbar) and shows an alert and stop the process. Can someone help me with that code Yes! It works! Thanks! Yes, good spotting Dustin. GetCurrentProcess will return YOUR applications process, not all processes. Change your def ...Show All
Don Tran DataGridView Column index
I have a datagridview with two columns Grid.Columns(0).Name ' Employee Grid.Columns(1).Name ' Title Now, I allow the user to move the columns. So when the user moves the title column before the Employee Column I expect the Column index to be: Grid.Columns(0).Name ' Title Grid.Columns(1).Name ' Employee But is it still: Grid.Columns(0).Name ' Employee Grid.Columns(1).Name ' Title ...Show All
boorad HotKey
How do you register a hotkey. I want to make a screen capture program and I want the print screen button to take the image. I already have the screen capture code. You probobly dont need to know how it works, but here is what u need to copy in: NOTE*** Make sure in your project settings, in refrences, imported namespaces, you have system.runtime.InteropServies selected Api Declerations and constant ...Show All
ILVC How do I add to the registry?
I don't really know how else to say it, I have some registry files and i'm trying to make a program that adds what's in the files to the registry. If you simply want to run the reg file to update the registry System.Diagnostics.Process.Start( "d:\test.reg" ) Will work were d:\test.reg is you registry file. It will bring up the confirmation dialog just as though you had used regedit to import the regi ...Show All
sParc disable network through Visual basic
hi every one, can any one help me out with this problem. can we disconnect from network using visual basic. i want help how can we disconnect a PC from network using visual basic. thanks and Regards vinay shetty VB has no built in method to do this, however there are some workarounds. Microsoft includes a network utility "Net.exe" which is located in the c:\windows\system32 directory. If you use the VB Shell() ...Show All
Karol MSFT DataRelation constraint
I have a master detail relationship basically an Order to Line Item relationship. I have a business rule that must be enforced which is that an order must have at least on line item. I have looked at constraints and can not seem to figure out how to build a constraint that enforces this rule. This does not seem to be an unusual requirement but I can't find any way to do this. Any suggestions would be most appreciated. Thanks in Advance ...Show All
