Answer Questions
Jemmy menustrip
In my menustrip I have an item call "Bad Items" when I click "bad items" my dropdowns appear (i add the dropdown items programmaticaly) The question is, how can I assign to a variable the text in the dropdown when it's clicked. Been messing with this all day and cant find the method. Thx for any help! Carl addhandler like so : AddHandler MenuObj.click, AddressOf MyClickEventHandler Remco ...Show All
mware what is the instead of sub main? in 2005
I have built my application my application need first to check if some configuration have been done then go to form2 else go to form1 how can I do this without disable framework options to use sub main!! what I did now is make form1 as start up abd then set it hide=true ...etc is there another soltuion Open the code to main form. type in public sub new() and press enter It should auto fill the rest. Put your code af ...Show All
Jose Luu A Place To Host Oneclick Apps
Short of registering a domain, is there anyplace that would be good place to host a collection of small oneclick apps ClickOnce applications don't make any requirements of their host, in fact it doesn't have to be a web server. You can deploy a ClickOnce application from a share, a local directory, or a website ... as long as the website is configured to allow all of the application's files be ...Show All
M.Forsyth Parameters in TableAdapters
In a project done to test some feautures in VB 2005 we create some datasource and a datagridview in order to show data from a simple table using parameters. Dataset is: Comprobantes, Table is tb_datos and datagridview is comprobantesDataGridView. The code to fill the table adapter is: Me .comprobantesTableAdapter1.FillTemp( Me .Comprobantes.tb_datos, 2005, 1, 8888) Me .comprobantesDataGridView.DataSource = Me .Comprobantes.tb_dat ...Show All
girafologue VBS question
Hi I need to write a which will alter ID3 tags in MP3 files. For now, I only found that I can use .GetDetailsOf() method of Shell.Namespace() to read the properties I need. Although I've got no idea how I can change them ... Would gladly recieve any advice ... No problem - glad to help. Don't forget to make the topic as answered to help others doing something similar. I've done something similar before in VB.NE ...Show All
Ed15 threading problems
Hi, I'm a total newbie at the forums I'm not even sure how to explain this but I'll give it a shot. I have created an app that launches an external program. Like so: global scrope Dim WithEvents proc As Process in a sub Dim si As New ProcessStartInfo(strProgram, strArgument) Before I launch the app I add a new handler AddHandler proc.Exited, AddressOf ProcessExited now comes the tricky part. I have this sub Public Sub P ...Show All
Jim Crayne using code written in C#
Hi. I'm trying to use a code library written in C# in visual basic, but i cant figure out how to do it. Here's the library: i want to be able to use the functions in it in VB. I've tried compile it into a class library and then add it as a reference in visual basic, but it still doesn't work. mattias and it's also kind of wierd that only some functions show up in the intellisense. I can't get any ...Show All
seriozha Accessing Public Function located in another Project referenced within the same Solution
I've to a solution with two projects: Bungalow New Programs New Programs has a ref to Bungalow. Bungalow has a Module called Bungalow which has a Public Function (clone_control()) From within 'New Programs' I can not access Clone_Control. However, if I drag (wihin the Solution Explorer) the Bungalow module from Bungalow to New Programs, then it works OK. I thought that adding a reference was like lett ...Show All
Jimmy Xiong Setting walpaper
Hello, i was wondering if there is a easy way to set the walpaper in vb on windows xp and windows 2000 to a bmp or a jpg or well any other type of image supported by windows i know there a lots of resourses about seting the wallpaper to a bmp but if anyone know of away to set it to a jpg i would be very greatful Thanks There are api calls to set it. If you use a jpg, it is converted to a bmp by windows anyway. see here: http://www.vbf ...Show All
V S .net Wierd error message with Access DB
Hi all, I have this wierd error message that I get when I use my DataAdapter.Fill function. The message is : "No value given for one or more required parameters" I just Cant figure it out, here's my fuction Dim strSQL As String Dim cmdSelect As New OleDbCommand dsIPBs = New DataSet 'Verification de l'existence du chapitre dans la BD strSQL = "SELECT * FROM PN Where PART_PK = '" & gIPB.PARTNO & "' AND N ...Show All
J. Newman view / update msi tables from vb .net
I seen the code in vbs, but I haven't seen any examples of accessing the msi database using vb .net code. I attempted by adding a reference to the msi.dll, this created the windowsinstaller object. When i tried to open the database I couldn't b/c I couldn't create a new windowsinstaller.installer object. Am i headed in the correct direction Does anyone have an examples I could use I am using vs 2k5 pro thanks, Rick ...Show All
Chris_e_m Return Value from a stored procedure
Hi, From a vb.net program I have the following snippet of code rslt = 0 dbConnection = New SqlConnection(gsSQLConnectionString) dbConnection.Open() sqlcomm = New SqlCommand("usp_tblReviewerTypeDelete", dbConnection) sqlcomm.CommandType = CommandType.StoredProcedure sqlcomm.Parameters.Add( New SqlParameter("@ReviewerTypeId", SqlDbType.Int)).Value = RvwrTypeId rslt = sqlcomm.ExecuteNonQuery() MessageBox.Show("Rslt ...Show All
realview How do I save to a EXE?
I am running Microsoft Visual Basic 2005 Express Eddition Beta 2 and i am wondering how I save my project to a EXE. I click build and nothing happenes I hit publish and it makes something wierd. help Your build output should be put in the ProjectFolder\Bin\Release directory. if there is nothing there, look at the error list after the build. Dustin. to create a exe, you need to build. Click on Build on main Menu. Your .exe could ...Show All
New Guy System.ArgumentOutOfRangeException occurred in system.windows.forms.dll
Dear all, I've got a problem with my custom combo box. When I select an entry from it, then I get the error message: "An unhandled exception of type 'System.ArgumentOutOfRangeException' occurred in system.windows.forms.dll Additional information: Specified argument was out of the range of valid values." Could you help me to get it running Thanks in advance for your help! Best Regards, Martin Source Code follows: Publ ...Show All
Larry G. What is the closest date.
Hi, I want to build a function, that takes a list of dates (DateTime Format), in a CheckedListBox, and to see which of them is the closest date and is IN THE FUTURE. How can I do that Thank you very much, Ofir. Just as an example...you will have to ensure that your list items are properly formatted but any ways... [Code] Private Function GetClosestDateTime ...Show All
