|
|
Thank you, Dave, I'll check that out!
|
|
|
|
|
Hi
I want to save multiple records form the datagrid into the database using dataset, please help.
|
|
|
|
|
|
can any one tell me please how can i set the timer control on splash control.
|
|
|
|
|
Don't start a new thread if you want to add a smiley - thats just irritating.
Read the guidelines, I know they suggest you do some research before asking a question.
Try this tool[^] it is excellent for research where you can find literally 100s of bits of helpful information.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Hi there
To run a splashscreen for 5 seconds and then load the main form you need to add some code in the SplashScreen_Load event that declares a new timer, add a handler to an event that fires when the timer expires, set the timer interval, and the call Timer1.Start() like so:
Dim Timer1 As New Timer
AddHandler Timer1.Tick, AddressOf Tick
Timer1.Interval = 5000
Timer1.Start()
Then you need to add a procedure that will fire when the timer expires like this:
Private Sub Tick(ByVal sender As Object, ByVal e As EventArgs)
Dim newMain As New Form1
newMain.Show()
Me.Close()
End Sub
You must not forget to set the splashscreen as your StartUp form , and also to set the ShutDown mode to When last form closes
Hope this helps
Happy Coding
|
|
|
|
|
Hi
Thanks for the previous solutions
I am using dataset control for crystal reports inside the dataset i type tables and then pass it to thte crystal report.
Using this way i have a feeling that if i have 300 reports the dataset control will definately become heavy and the application will get slow.
My question is:
1) Is there any other way of doing it using untyped data set without using the typed dataset?
2) Is there a way i can use it without a dataset control?
please help
Regards
|
|
|
|
|
Hi
I'm sorry, but I do not use either Crystal Reports or DataSets in my apps, and so am not the best person to ask.
Happy Coding
|
|
|
|
|
no worries, i will sort it out, thanks for the help.
regards
|
|
|
|
|
how can i save multiple values from datagrid into database.
|
|
|
|
|
Start Timer to on Form Load. and After a several time close the form.
If you can think then I Can.
|
|
|
|
|
Application ID cards, I have an application that keeps track of 5000 or so employees with their picture. I need a way to print an ID card with their picture on it. I can make the picture show in a window when they bring up the employee, however how do I print some information and a picture on paper or plastic ID card? Is their an API or something???
|
|
|
|
|
The API is VB6's Printers collection and Printer object - see the help file, in particular Printer.PaintPicture for the image and Printer.Print for the text.
|
|
|
|
|
I think you want to print multiple ids with employee image. So You sould get the paths of Image and id's in array.
and at the time of printing get the picture by using path and print it.
If you can think then I Can.
|
|
|
|
|
I can retrieve the picture in a picture control on a form. How do I get this image on a piece of paper? I can get the other information I need to print on the paper. I would like to print the ID card with picture using crystal reports, but I you know how to control the employee picture to a piece of paper using vb6.0, vb.net 2008, or Crystal Reports 8.5 developer I would really like to see the code.
Thanks
|
|
|
|
|
Hi, dear all,
I have a simple project that I want to create a setup file for it.
I followed the instruction as the following link:
Visual Studio Windows Application Setup Project[^]
But it is very strange that after I add a exe file and uninstall.dat files to Application Folder, then
when I create shortcut in User's Program Menu, set the WorkingFolder property to Application Folder, when I click Target property and try to browse the exe file in Application Folder, it only allow me to select folder instead of the exe file.
What's wrong?
Thanks!
|
|
|
|
|
Its Like That
SOFTDEV
Luck in life always exists in the form of an abstract class that cannot be instantiated directly and needs to be inherited by hard work and dedication.
|
|
|
|
|
Hi
Can any one explain to me please how to create a setup which installs the application and the required files like .net support and sql .ldf and mdf files on the specified locations.
If the operating system is XP Professional or any earlier version that supports sql 2000/05.
Regards
modified on Friday, July 2, 2010 3:26 AM
|
|
|
|
|
In a 20 step nutshell :
1) Click 'File' -> 'Add' -> 'New Project'.
2) Goto 'Other Project Types' and 'Setup and Development'.
3) Choose 'Setup Project'.
4) In the 'Solution Explorer' rightclick on your setup project.
5) Choose 'Properties'.
6) Click 'Prerequisites...' button.
7) Choose your prerequisites (e.g. .NET Framework, Windows Installer).
8) Press 'OK', press 'Apply'.
9) Rightclick on 'Application Folder' in the left File System window.
10) Choose 'Add' -> 'Project Output'
11) When done, rightclick in the Right File System window.
12) Choose 'Add' and whatever you want to add to the application directory
during installation.
13) Rightclick on 'Project output from ....'
14) Select 'Create shorcut to Primary output from ...'
15) Rightclick on 'Shorcut to Primary output from...'
16) Choose 'Rename'
17) Name it after your application.
18) Select it and drag it to the left to 'User's Program Menu'.
19) (Build solution) Build your setup project.
20) In the setup project directory you'll find the .exe and .msi file to
install your application.
|
|
|
|
|
Hi
Please can you explain how can i set timer control on a splash screen i set its property enabled = true and interval = 5000 but still its not working what shall i do here
Can any one help?
|
|
|
|
|
Hi
Please can you explain how can i set timer control on a splash screen i set its property enabled = true and interval = 5000 but still its not working what shall i do here
Can any one help?
|
|
|
|
|
- i am using sockets ...
- whenever i try to send text i get the following error...
System.InvalidOperationException: The operation is not allowed on non-connected sockets.
at InTheHand.Net.Sockets.BluetoothClient.GetStream()
- the code is the following...
Dim stream As System.IO.Stream = Nothing
Try
stream = client.GetStream()
stream.Write(Buffer, 0, BufferLen)
Catch e As Exception
MsgBox("Error sending" & e.ToString)
Finally
If (Not stream Is Nothing) Then
stream.Close()
End If
End Try
- please help me out here... thanks...
J A Nasir K
|
|
|
|
|
Because you don't have a connection opened yet?? Since you haven't provided any of the connection code, it's impossible to say what the problem is.
|
|
|
|
|
Hi,
I create a DataGridView control and add three column to it at runtime, I try different ways but the button text is always empty, did I miss something or did something wrong? The codes as following:
Dim ColumnBrowse As New DataGridViewButtonColumn()
ColumnBrowse.HeaderText = "Browse File"
ColumnBrowse.Name = "btnBrowse"
ColumnBrowse.Text = "Browse"
ColumnBrowse.UseColumnTextForButtonValue = True
ColumnBrowse.FlatStyle = FlatStyle.Standard
ColumnBrowse.AutoSizeMode = DataGridViewAutoSizeColumnMode.DisplayedCells
DataGridView1.Columns.Add(ColumnBrowse)
Thanks
|
|
|
|