|
Hi All,
Is there anyway in which you can pause a timer function?
for example when a certain button (say pause) is pressed, the timer1 is paused, and then when a button (say restart) is pressed timer1 continues from when it was paused.
Thanks in advance, you lot have been a great help!
Jaidev
|
|
|
|
|
I don't believe so, there are only stop and start methods.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
hi,
try this.
to start timer function
timer1.Enabled=true
to stop timer function
timer1.Enabled=false
hope this works
Nitin...
|
|
|
|
|
hai,
in my application vb.net
if ds.tables(0).rows.count>0 then
'do something
end if
i am getting error table 0 cant be found ,what would be the problem
plz send some details
thanks and regards,
surendra
surendra
|
|
|
|
|
Same as the last time I answered this. Your dataset doesn't contain any tables. Have you looked at where the dataset is created, and checked that any data is being returned ?
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
yes ur right,
i solved the problem
thanks alot,
take care ,
bye,
surendra
surendra
|
|
|
|
|
Hello,
I need to implement continuous integration using TFS Server and TFS Build.
How to utilize TFS Build to implement CI in your company?
Do you have any experiences how to do this?
Thanks!
cyberjoe
|
|
|
|
|
i am very thankful to u for helping me
but still i am unable to do my project as i am unable to connect to ms access file and read data from it...
so please help me
|
|
|
|
|
OK, this is widely reported on the web. What steps have you taken, and what is going wrong ?
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Hi All,
Is there a way to intergrate a form onto another?
for example when a button is pressed in form1, form2 appears, however if I was to press another button in form1, form2 would still stay in the same place and be visible, regardless of the user doing activity on form1.
Thanks in advance.
Jaidev
|
|
|
|
|
To open a form, use this: Form2.Show() , and then for Form2 to maintain visibility at all times, set the TopMost property: Form2.TopMost = True .
Trinity: Neo... nobody has ever done this before.
Neo: That's why it's going to work.
|
|
|
|
|
Why would form2 move if you pressed another button? Do you want it to stay on top of form1? Should it keep the same relative position? If you want form2 to stay on top you could set it's 'owner' property to form1. Form2 will then stay on top of form1 and will minizmize whenever it is minimized. If you want it to stay on top of all forms including other applications you could set it's 'topmost' property to true.
|
|
|
|
|
Yes. Create the form elements as a control, then you can place that control on a new form to make a form, or use it within your existing form, so that form2 appears within form1. You can also have a form appear at the bottom or right of an existing one, by simply changing the form size when a button is pressed, thus showing or hiding the area that has the form2 control on it.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Hi!
I've just crossed from VB6 to VB2005, and from ACCESS DB, to SQL, and have some stupid retard questions:
1. I have one form with 4 text boxes: barcode_textbox, id_textbox, name_textbox, stock_textbox and they are connected to database table called "PRODUCTS" , now i want when i enter a BARCODE or ID, to check if that BARCODE OR ID is already in database, and if it is, to automatically populate other text boxes with values of that products.
2. i want 2 datagrid on form, one is called "Customer" and the other "Sales", and when i click on one of the customer in datagrid, in the other datagrid i want to see all of the sales connected with that customer.
3. I don't understand something, but when i run my application from VB2005, i can't modify or add anything to my database, and when i run executable from \bin\debug it works fine???
I'm sorry for my bad English, but will appreciated any help.
Thank you,
CoolOT
|
|
|
|
|
1 - write a stored proc that takes the barcode and ID and returns a record if it exists. This would involve writing your own DB code, not using hte built in 'magic' stuff
2 - This is called a master-detail view, if you google that, you'll find heaps of examples
3 - not sure why that would be
It's called SQL Server, Access also uses SQL
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
|
I am rounding the end of a program and all of the sudden i am having this problem with the breakpoints not working. (VB 2005 Express Edition) The error says something about the code being different from the original so therefore it wont stop at the breakpoint. It turns the breakpoint from a red dot to an outline dot with a yellow Exclaimation. It also says to solve this problem go to tools, options, debugging, general and fix some setting but i dont even have a debugging section in my options menu.
|
|
|
|
|
Nevermind I think i figured it out, and just for future reference if your making a program that works closely with time variables its not good to push back your computer clock a couple hours to because the program gets confused over the fact that the files modified date and time is in the future.
|
|
|
|
|
My main form, which is an MDI Parent form is being strange at design time only. In the form editor I cannot select any of my menu strip items or my status bar items. They are not locked or disabled of anything. The forms locked property is false. I have tried shutting down my computer and reopening, and just reopening numerous times. Yesterday this was not happening, I saved my project, went home and now today I cannot select any items in my menustrip or status bar. This is not happening with any other forms.... Its so wierd and it is really pi$$ing me off. PLEASE SOMEONE HELP ME!!!!!
-Joey
|
|
|
|
|
is it possible in vb.net or c# to save an image to PNG-8 (8-bits)?
when saving using to a png i noticed is always to 24 bits but the image still a bit too large if i save it jpg i may save some size but the quality is bad
i ask this because i noticed when saving an image on photoshop to png-8 the quality is about the same as the png-24 but file save is about a 1/3 of the 24 bits
thank you
|
|
|
|
|
Photoshop supports a variety of formats that .NET does not. I don't think you can set bit depth of PNG in GDI+
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Hello,
I have to develop a program that will allow a user to enter a url of a remote server and then copy files there.
I am not sure to get started with this, can anyone point me in the right direction.
Many thanks for any advice,
Steve
|
|
|
|
|
to start i think you have 2 options
1 will be to use a file upload and place the file at the server, the other will eb use some kind of ftp file transfer, i'm sure you will find some sample classes on both of this
now is this app web base or windows?
|
|
|
|
|
Hello,
Thanks for your ideas.
This will be developed using a windows .net 2005. Do you know of any good tutorials?
Thanks,
Steve
-- modified at 22:48 Tuesday 30th January, 2007
|
|
|
|
|
just search for .net ftp transfer or file upload
|
|
|
|