|
How can i stop a control in a container to lose focus upon a key press event or other keyboard event. I am making an article but i cant figure out how to do this, or if this isnt possible how can you tell what made a control lose focus? in vb.net
Visual Basic Lover
|
|
|
|
|
Found the answer ma self wooohooo, inherit the container base class and override the on process dialog key sub, then disallow all control keys and raise custom events, according to liking.
Visual Basic Lover
|
|
|
|
|
I want to acess msconfig programmatically using vb6 in all versions of win os and how can write registry entry in it
|
|
|
|
|
MSConfig doesn't expose an API you can use. All it's doing is making modifications to the registry. (Well, some things require more than registry changes...)
But, you need to make the same changes to the Registry that MSConfig makes. Since VB6 doesn't have native support for accessing the the Registry, you have to call into the Win32 API Registry function to make it work.
You can find plentry of examples of this using Google[^].
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi
Im trying to import text in hebrew from word and excel into a string variable.
The text I receive is not encoded correctly (LTR instead of RTL).
I cant change the files and I need to show this text in an XML file.
I need som kind of convertion function.
Please Help !!!
Alex
|
|
|
|
|
|
Im trying to retreive bi-directional mixed text (english with hebrew) from microsoft excel sheets using Range(...).Text
The text that Im receiving is not correctly ordered.
Im looking for a function that can fix the text so that it is visually encoded so that i will be able to display the text in a non-RTL capable container (Macromedia Flash).
|
|
|
|
|
|
I want to run my exe files built in windows xp/2000/nt/9x
during boot up not after the desktop is shown,I tried in msconfig but it does not work,
please help me
|
|
|
|
|
|
Can you have any idea or link to create the servic in vb6
which runs before explorer.exe because similar program is running in my college a password form appears before the desktop is showed,If not done in vb6 any other lang is invited.
|
|
|
|
|
VB6 won't build a service. You have to launch your application using a second app. Search the web for "VB6 run as service". Better yet, Google search results...[^]
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I have a question regarding the use of timer.
I have created a VB .Net form with a timer that run at the background which at interval of one minutes will make a connection to the SQLCE database to retrieve data. At the same time there are others forms which is also be running based on the user interaction with the system. The others form it will too make connection to the database based on user interaction (example click button to save data).
I want to ask is that if the timer is currently on executing it codes, and then when the user click to save data into database, will the system complete the timer execution then follow by the user execution code or run at the same time?
I'm sorry that I unable to provide a clear question (it may be confusing) but I'm really need help for this. Thanks in advance
|
|
|
|
|
The code for both the timer and the user action will run at the same time or there abouts. This is because when the timer_elapsed event triggers it runs on a seperate thread.
|
|
|
|
|
|
please help!! help!! help!! need's code for printing name, invoice, amount & etc on pre printed form useing vb.net window form & asp.net webform.
frankly speaking is that i am new to vb.net & asp.net.
please help me by provideing source code at my mail id
which is u_rock100@rediffmail.com
it is request to you fine guys
|
|
|
|
|
Since every printer has different unprintable margins, it's impossible to have a single form layout that works for every printer.
In a Windows Forms app, you have to have some method to be able to move the fields around. A .config or .INI file works great for this. Then all you do is print a test form, and have the user modify the config file, either by hand or by using a utility you write, to tell your app to move the printed form in whatever direction is needed.
In a web form, since browsers render things slightly differently this is virtually impossible to do. I'm sure there might be a JavaScript way to do it, but that's not for this forum.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I have a database with two columns, "department_name" and a "color". My goal is to display a list of all of the values but formatted so as to display a rectangular swatch of the color and have the name follow it. I have absolutely no idea how to do this (new to VB.NET programming, ASP/ASP.net background), and would really appreciate some feedback. If anyone has used Adobe InDesign, they've seen something similar to what I am looking for when invoking a pantone color. You simply get a scrollable list with a rectangular swatch of the color followed by the color name. Any help or direction would be greatly appreciated!
|
|
|
|
|
I think you would need to add a custom control with the swatches to the listview. I have seen code to do this, I think on this site, but I am afraid I don't have a link. You might try searching for how to add a propgress bar to a listview control or something like that.
|
|
|
|
|
i wana close the main form that is loaded , after that i enter another form .
how can i do it ? when i wana close that main form all the forms go down ..
thxx
|
|
|
|
|
You can't! If you close the startup form of your project, then the whole thing goes down. This is because you just closed your application's message pump.
You'll have to redesign your app around this. Try searching the articles for "splash screen" screen for examples.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I thought that in .net it didn't work that way..off a post I saw about finding out how a form is closed, but I cuold be wrong. How about using a Main sub in a module to launch the form? May be a possible work around...have to play with that one.
|
|
|
|
|
hi
i saw your problem and as Dave said maybe you close the startup form
and say you want to make a splash screen ? if you want say about it and i'll write you a sample program about this.
with best wishes
smart_sdr
|
|
|
|
|
It works that way in ALL Windows applications. There is always a parent form that gets executed and becomes an application-level message loop. And yes, you can have a Sub Main that executes, using Application.Run( Form ) , that will start your app's application message pump.
Now, there's nothing that say you only have to have one Application.Run statement. Just search the Articles for "Splash Screen" and you'll see what I mean.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
hellow to all ...
i am making a drawing program that contain basic drawing options ...
i have a problem when i wana save the photo that it is a pictuerbox it erased !
anyidea !
|
|
|
|