No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
13 Posted Topics
dim a as new form a = form1 a.mdiparent = me a.show()
If your wanting something that would not overwrite the txt file everytime (like keeping a logfile of events in your application): [code] Dim myfile As String = "C:\log.txt" Dim itxt As New TextBox If IO.File.Exists(myfile) Then itxt.Text = IO.File.ReadAllText(myfile) End If Dim vt As String = vbCrLf & Date.Now & …
I have a similar issue with crystal reports applications... I know how to check for missing dependencies, but how to find those dependencies an add them before compile?
You could as use the StartsWith as well [code] for each c as control in me.controls if c.name.startswith("t") then c.clear() end if next [/code]
I have a label that displays information from my database and I need to format it. It displays a number format like so: (53389) and I just need it to display (53,389) it uses the SQL to COUNT or SUM the data from the datasource. My first question is, is …
Create your DB in Access and the table type for image should be OLE OBJECT, then just convert that to SQL and create your SQL DB with that format. It should work, although I've not tested it.
[URL="http://simoncodersoftware.com/media/index.php?title=Export_Datagrid_to_Excel"]Check out this code sample[/URL], this will allow you to export your datagrid to an excel file, then you can print from excel. That may be easier for you.
[QUOTE=aymenbnr;1571717]Well i just tried to turn Rows cells that contain the word Yes into green on form load when i put that code into a button it worked but on a form load i didn't work ! anyone can help me out ? Thanks [CODE] Private Sub Form1_Load(ByVal sender As …
[QUOTE=Mike Bishop;1477707]i have this code and it kinda works but not properly. i need it to look at the coloum in a datagrid and make the back colour red if over 1.6(in sql this field is saved as Varchar(10)) but at the min, i have a value of 1.5 and …
[code] Dim strPath As String strPath = "Path to PDF File" Dim attMent As New System.Net.Mail.Attachment(strPat) mail.Attachments.Add(attMent) [/code]
I'm trying to figure out how to pass a parameter to a report in VB... [URL="http://screencast.com/t/MjBhYjYxOTM"]http://screencast.com/t/MjBhYjYxOTM[/URL] I've looked at the microsoft library on the report viewer class, but it's only slightly better than a boat anchor... does anyone have any other useful tips on how to figure this out?
Hi all, I'm fairly new to VB. I'm working on a Windows forms app that will average a set of numbers, the only catch is that there are 10 textboxes(4 in the example for times sake), and not all of the textboxes could be filled with a number... I know …
could you be just a little more specific?
The End.
msrd