I would just windows installer to do the checking. That way you are not overwriting a newer version of the file
M Hall
Posts
-
Question regarding.....msstdfmt.dll -
Question regarding.....msstdfmt.dllGoogling it comes up with: This link http://technology.pitt.edu/userights/msoffice_dev_ed.pdf[^] 2.2 Redistributable Code-Standard. Microsoft grants you a nonexclusive, royalty-free right to reproduce and distribute the object code form of any portion of the Software listed in REDIST.TXT ("Redistributable Code"). Note: Certain Redistributable Code may be subject to the restrictions in subsection 2.3 below if it is also identified as "Limited Use Redistributable Code."
-
Question regarding.....msstdfmt.dllLook in the Redist.txt file for VB6, it looks like it is under the REDISTRIBUTABLE CODE - Standard: Section.
-
Control box questionThere is a form closing event that gets called whenever the form is closed. You can do what ever cleanup you need, or even cancel the form close in it. http://msdn2.microsoft.com/en-us/library/system.windows.forms.form.closing.aspx[^]
-
saveThat used to be the propertybag object in VB6 it didn't get carried over to .Net. I've used a XML file in the past to save and recall the information I needed. Hope that helps :)
-
Control box questionTry the form.closing event.
-
display date and time in labelIt looks like you named your label the same name as the function, visual basic is not case sensitive, try renaming your label
-
How i make a label's backcolor transparent on the picturebox ?With .Net I have not found a way to use transparency with labels and show the background like you can do with VB6. I have had to resort to keeping the label hidden and using it's text,location, etc. in the picture box's OnPaint event using a graphics object to draw the text on the picture box. Hope that helps :)
-
How can I detect which button is clicked on the form?in your button event:
dim b as Button b= Ctype(sender,Button)
the b will be the button that was clicked. If you are wanting to run different code depending on what button was clicked you can check for the name, or assign a value to the tag property and use that for identification. Hope that helps:) -- modified at 11:34 Tuesday 13th March, 2007 -
Get enter button commandMake sure you have a button click event attach to your button then use code some what like this to actuate it.
YourButton_Click(YourButton, New EventArgs)
-
Calling a windows applicationlook into the documentation on Process and Process.StartInfo.
-
Picturebox Control QuestionFirst do you have Imports System.Reflection at the beginning of your code, you need that to access the Assembly object. For the next part use the ListBox SelectedIndexChanged event, use the selecteditem value to index your resource file. Hope that helps:)
-
Picturebox Control QuestionIs your question about extracting the resources or assigning them to the picturebox
-
Picturebox tooltipsif you use the variable like he suggested, then check the tooltip text to the text you want to show if they are the same don't update otherwise update the tooltip
-
str Value questionTry If String.IsNullOrEmpty(strName) Then frmTeachBasics.Show
-
Resize of Form according to System ResolutionWhat I have done in the past is design the form at the lowest usable resolution, then in the same routine that sets the size of the form I figure out the difference in the screen sizes and iterate through the forms control collection and set the position and size to what I want it to be. You also will need to adjust your font size for each control -- modified at 12:32 Monday 12th March, 2007
-
How can I add IMAPI 2.0 to my project in vb.net?What I reference in my code is the com wrapper from the article I referenced. the imapi objects that are used are imapi.sys and imapi.exe, but with out knowing how to interface directly to COM using a wrapper is preferable.:-D -- modified at 22:55 Sunday 11th March, 2007
-
Total rows in DataSetTry: Dim MaxRows as integer = objDsExistingXRatesFile.Rows.Count
-
How can I add IMAPI 2.0 to my project in vb.net?what I have used for cd writing in VB is found here[^]. I hope that is of help to you
-
Trail of Tears Part 2 (i.e. Control Locations)...The sender object in your dragDropTimer_Tick event is going to be the timer, try creating a public variable of type control and setting it to the calling control in your ProvideDragPathReturnToParent event and use that variable in your dragDropTimer_Tick event Hope that helps