How To Detect The First Application Run
Jan 31, 2012
I want to ask the user a barrage of questions regarding configuration settings within the application. All that is handled, except that I want to ask them on the first run. (Kind of like a "Welcome form".) My question is, what is the easiest way to detect the first run and how would I go about doing so? Side note: regarding the link above, which location would be a good location to set a key value? (I've never really worked with the registry much until now.)
View 10 Replies
ADVERTISEMENT
Sep 24, 2010
detect whether the current application is a console or a winforms application.The reason that I want to do this is that I am developing a library with a global error handler in it and I need to know what type of application it is in order to be able to subscribe to the appropriate exception event.Obviously I could get the user to pass in a parameter specifying what type of application it is, but I would rather deal with that automatically so its all encapsulated from the user of the class.
View 1 Replies
Nov 15, 2011
I've been looking around the internet and I haven't really found any solution to my problem. Is there a way to perform a function when a user closes the form either by pressing the X button in the top right hand corner? I am using a database that saves what form the user is currently looking at, and when the application is closed I want to say "offline."
View 4 Replies
Dec 2, 2010
how do I check to see if an application is running on the computer and, if it is, then close it? For example, I want to see if "myprog.exe" is running and, if it is, send it a message telling it to
View 3 Replies
Jun 29, 2009
how do you detect caps lock on in particular in a wpf application?
View 2 Replies
Jan 30, 2010
I know the default install path of the app and the name of the .exe file, but is there a way to see if it is actually installed? I've seen suggestions for checking registry entries, but I don't know if this app uses any or if if varies for different users on different pc's.
[Code]...
View 2 Replies
Jun 15, 2012
Is it possible to use reflection (or some such thing) to find out if the application framework is enabled? (set in project properties)?
View 3 Replies
Jun 11, 2010
Is there a way to detect (an API call) when task manager is shutting down an application? I don't want the application to be shut down! How can I prevent that?
View 17 Replies
May 16, 2011
I made an application where i used mouse scrool event. On my PC everyting work excellent, but when I try it on different machine scrolling is not detected!? How is that possible?i am using e.delta < 0 and e.delta > 0
View 3 Replies
Oct 30, 2011
Someome knows some utilities that can detect all the API calls of a specific external application? The application I would like to detect is a console application and, being without form, Spy++ don't find it.
View 2 Replies
Jun 3, 2011
I am looking into programming an application that detects noise levels. If the level is over a specific threshold it will lock a logged on user account. The idea behind this application is to reduce noise levels in a busy IT suite. My question is has anyone written anything similar and did it prove to be effective and is VB the best programming language for the job?
View 1 Replies
Sep 17, 2009
detect ctrl+left click (for button) in winforms application
View 1 Replies
Oct 22, 2010
I would like to know the exact location of the mouse by pixels.How do I detect and write the X,Y pixels?I like to do have two sets of numbers.Firs set is for the application and second set for location in the monitor.The existing monitor is 1280x1024. (I hope the code is not monitor specific.)
View 1 Replies
Oct 3, 2011
I have a WinForm program developed in VB.Net with Visual Studio 2005. The program needs Microsoft Office Runtime installed atleast on the computer to allow the application to run without any errors.
Is their a way to check the computer to see if the minimum of the Runtime or Microsoft Office is installed on the computer? If either isn't I would like to display a message to the user on the startup of the application that states to atleast go to Microsot's site (I have full link to Runtime Download) and download the runtime for free.
Or is their a way to include the runtime as a component with my install for the application so if it isn't installed on the computer already it will install when the application is installed?
View 1 Replies
Mar 10, 2009
I would like to ask how to connect our application to connected computers in a LAN.Will I use the winsock control?How can I run queries using a server database?Any answers are welcome.
View 3 Replies
Oct 1, 2010
Ok I have a question about connection string in vb.net. Im using the string [Code] but here I am specifying the serverName by its name, now if I deploy my application and send it to another person to use it I see that server name is changing according to the name of the computer. Is there any way where by I can make my application to detect itself the Name of the server present in that computer and use it in connection string?
View 2 Replies
Jan 30, 2009
I spent some time with data modems till I realized it's a voice modem that I'm going to need in my application. I see that there are some other commands for a voice modem, although nothing very elaborate. I would imagine you make the call as you would in a data modem ATDT etc and it looks like there is really just one command to send audio...
AT+VTX
AT#VTX
Not sure what this is all about except maybe just different standards? Still not sure about how to detect when the call is answered though. I won't be talking to another modem. Maybe the serial port itself has a pin change or something? You would think there would be a bit "somewhere" that the modem would generate when it quits ringing. I may have build my own outboard box to do this. (easy enough -- probably more reliable too -- modems sure need rebooting a lot it seems).
Here is the goal though --Voice modem calls out, call is answered, and I inject my audio from the PC sound card for a minute or so and then tell the modem to hangup.
View 5 Replies
Feb 8, 2012
I am in process to develop an application for Windows Mobile 6.5 using Visual Basic 2005 and .NET Compact Framework. My problem is that I want to know if an instance of my application is already running and, in that case, I want to jump directly to that instance, without starting another one. I tried several solutions found on the internet but I think there are solution for desktop applications not for mobile applications because I have a lot of errors.
View 1 Replies
Jul 22, 2010
Is there anyway to detect if the vb app I am developing loses focus, ie, if a user switches to another task. Maybe is there a way to detect which process in windows is active ?
View 6 Replies
Feb 28, 2011
I have made my application to start automaticly when windows start (registry ../currentversion/run/appname + path). In this mode the application start minimized and an little icon appear in the notification icon area. With this icon you can maximize the app or exit it.If you exit the app and start it again using the Menu (Start/programs etc) than the application start in minimized mode (and in this case I would like to have it in normal mode) because the setting autostart is still true.Is there a way you can detect when the application start when windows startup using the above registry or when people click on an icon in the programs menu (or desktop)?
View 2 Replies
Jun 21, 2010
I want to write an application that can detect whether a value in CSS file has changed or not
View 3 Replies
Apr 29, 2010
Why there's no built-in function to detect platform, I need to know I am running on x64 or x86?[code]...
View 4 Replies
Jun 3, 2011
My table gets its information from a Mysql database online. I'm not sure which would be quicker to retrieve the row that contains the information specified.[code]...
View 5 Replies
Dec 7, 2011
I have a dataGridView control with a DataGridViewComboBoxColumn column, the question is Which event of the dataGridView I must use to detect when the user change the selected value of a particular DataGridViewComboBoxColumn?
View 1 Replies
Jan 30, 2010
How to detect whether Caps Lock/Num Lock is on/off on a keyboard?
View 2 Replies
Apr 26, 2010
I have a text file, about 30mb's in size which gets modified regularly (lines are appended - logfile), but what I would like to do is only read the contents that have been added since the file was last modified.
View 4 Replies
Feb 24, 2010
How can I detect when the WMP has reached the end of the current song? I'm making a media player, and have my songs in a list box. Here is my code for playing a song.
CurrentSong = SongPaths.SelectedItem
WMP.URL = CurrentSong
Label2.Text = "Now Playing: " & Songs.SelectedItem
Songs and SongPaths are both listboxes (SongPaths is hidden) As you might have guess, Songs has the song names in it, and SongPaths has their directory path, the two listboxes are in-sync (Choosing "SongA" in Songs, will select the directory of it in SongPaths)What I need to do, is detect when a song is over, so I can call this code:
i = i + 1
Songs.SelectedIndex = i
'Will select the corresponding item in SongPaths as well.
[code]....
View 5 Replies
Aug 31, 2009
How can i detect how much memory each tab is using
View 4 Replies
Mar 30, 2011
With active i meant for example you are using browser now, so its active when you skip to another window, its not active anymore
View 1 Replies
Feb 3, 2012
If I have a path, eg "C:emp", how can I detect if it is a directory or not?
View 3 Replies