Determine What OS Is Running?

Sep 17, 2009

I need to change where I save my program and support applications based on which Operating System is running.davidbell

View 1 Replies


ADVERTISEMENT

Determine The The Name Of The Folder That Is Currently Running Through .net?

Feb 11, 2009

How will i be able to determine the the name of the folder that is currently running through Visual Basic .net?

View 7 Replies

VS 2008 Determine If Running Under Debugger?

Mar 28, 2009

I am trying to determine how my application is running. There are four (I thinkpossibilities:F5 in the IDECTRL F5 in the IDEPublish and Installed in Debug ConfigurationPublish and Installed in Release Configuration

View 4 Replies

VS 2008 Determine What Apps Are Running?

Oct 22, 2010

I would like to determine what apps are running on the computer. Not sure where to start.

While we are at it, is there any event that triggers that indicates that a new application has been started? Basically I am trying to log what applications are running on the application while my VB application is running.

View 3 Replies

Way To Determine If Running In Visual Studio?

Apr 21, 2010

We have config files that are created in the Program FilesCommon folder at installationWhen debugging code, I want to look at the config files in the development folder instead.hat is the best way to determine if my code is running from within Visual Studio or from the installed appliation?

View 4 Replies

Determine If The Program Is Running For The1st Time?

Jan 18, 2009

i wanted to know if there is a way for the program to determine if its being run for the first time in a computer or in a different user.

View 1 Replies

Determine Whether The OS The Program Is Currently Running On Is Either 32bit Or 64bit?

Jun 6, 2011

I just need to be able to determine whether the OS the program is currently running on is either 32bit or 64bit.

View 5 Replies

Determine Which Operating System The User Is Currently Running?

Nov 12, 2010

I'm trying to get an application to determine which operating system the user is currently running and use that to decide what to do. For example, a user uses the program and they're using Windows 7. I want it to know that and use predetermined variables throughout the program for Windows 7. Likewise if they're using Vista or XP/Macintosh.

View 4 Replies

VS 2008 ClickOnce Vs Install Pkg Determine Which Is Running?

Feb 23, 2011

I have written a program and deployed using clickonce to all desktop users. Additionally, the program is also installed (non clickonce) on a terminal server. (For security reasons, these users cannot install on their desktops). I need to add some code to the current program but only need this code to happen if it's being run as a Non ClickOnce Application. Does anyone know how to determine if the running version is a clickonce or not? Is there something in System.Deployment.Application that identifies?

View 1 Replies

Determine When Application Is Running From Remote Desktop Session?

Oct 27, 2009

Is there a way to determine if the application is running from an RDP session or not? Our staff has VPN access and use Microsoft's RDP Client to connect to their computers at the office. They mostly interract with software we've written. I'd like to identify those people that use our applications via RDP as opposed to being physically at their computer.

View 1 Replies

Way To Determine Through Code What Is Latest Version Of .net Framework Pc Is Running

Feb 3, 2009

I have developed a small application in VB.NET 2008. It uses .net framework 3.5. But somehow it also runs in computers with .net framework 2 or 2.5. Is there a way to determine thru code what is the latest version of .net framework the pc is running. This way I can give a warning message box that the required framework is not installed.

View 7 Replies

Application Running Fine On XP But Same Exe Not Running In Vista?

Apr 24, 2010

I had done one application using api which send the message to given number. The working of software is very fine without any error working on windows XP SP2. I heard that vista already contain the .net frame work so didnt installed .net frame work in machine. I checked in vista it shows .net frame work is in machine. But when same code i tried to run on Vista it gives the error. Error is as follows

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at SmsSendingApplication.frmSingleMessage.InternetOpenUrl(Int64 hInternetSession, String& lpszUrl, String& lpszHeaders, Int64 dwHeadersLength, Int64 dwFlags, Int64

[Code].....

View 7 Replies

The Last Change Wasn't Successfully Persisted.Please Shut Down The Running Application. Sending Message To Designer Failed.Designer May Not Be Running.''?

Jun 4, 2011

what account for this error message in ls beta 2?'' The last change wasn't successfully persisted.Please shot down the running application.

View 1 Replies

Prevent Program From Running When It Is Already Running?

Jan 20, 2010

I want to prevent my program from running when it is already running.How can I do that in my vb2008 Code?

View 1 Replies

Using WSF (Windows Scripting File) To Retrieve Component Services Running Process ID's Using Running Process Name

May 7, 2009

I am trying to write a Windows Script that will allow me to monitor the following: That 2 x seperate but specific processes within Component Services "Running Processes" list are currently running and have not reset within the past hour. If I already know the PID, then I can retrieve the CreationDate (I assume which I can use to check for restarts? or is this the actual process creation/installation date) for each specific process, however if a restart occurs the PID will change and my script needs to know what the new PID is without me telling it!

[Code]...

View 2 Replies

Windows Service Running Under A Network Account Is Calling An EXE And Running It Under System Account?

Aug 27, 2010

We have a windows service running under a network account that calls and runs an ActiveX exe. The exe is running under the local system account, not the network account of the service.

View 1 Replies

Passing Data From One Running Thread To Another Running Thread?

Jan 14, 2011

I have on timer thread that needs to pass every time a different data to another running thread to make the calculations.

View 5 Replies

Asp.net - How To Determine What Is Checked

Jul 19, 2010

i havea dropdwonlsit (loads on the page_load event) and a unbound CheckBoxList is based on the selection from DropDownlist, the checkboxList is display CheckBox (might be one or two or three or any numbers)..... i just want to know after the page is loaded on the browser and user click on the checkbox's, i need a way to know what checkboxs users have selected... what is the best way of doing that? so far i have come up with this...

<asp:CheckBoxList AutoPostBack="true" ID="chkbox" runat="server" RepeatColumns="2" RepeatDirection="Horizontal" RepeatLayout="Table">
</asp:CheckBoxList>

[code]....

View 1 Replies

C# - Determine The Which Adapter Is Used?

Aug 25, 2011

I have a need to figure out which adapter is used when a connection is created. In other words, if I have multiple NIC cards (i.e. wireless, lan, etc) on my machine, which card is being used for the connection?

If anyone can point me in the right direction...

View 3 Replies

C# - WMI And Win32_Process - Determine If 32 Or 64 Bit?

Mar 2, 2012

I wonder if there is any value I can check on win32_process to see if it is a x86 or x64 process?

[URL]

View 1 Replies

Determine Datagrid Add Row?

Jul 17, 2009

I want to determine whether datagridview add new row or not.

I use rowadded event but when i load my form , That event raise many t�mes = number rows.

View 14 Replies

Determine Device IRQ In .Net

Mar 22, 2012

How do you retrive a given device IRQ in VB.Net? I can find no examples of this anywhere.

View 4 Replies

Determine If Aero Is Using

Aug 15, 2009

I'm intend to use Aero glass in my program. It require use Black background to use this. If user is using Basic style, it will be very bad :( (although there's no error). How can I know if user is using Aero?What is big but light?

View 6 Replies

Determine Of Windows Is 32-bit Or 64-bit Without WMI?

May 17, 2007

I can use MDI to detect if x86 or x64, but it's painfully slow. How can I quickly, using VB.NET 2005, determine if the Windows OS is x86 or x64?

View 10 Replies

Determine The DLL Path?

Jun 7, 2009

Trying to write a DLL logger that is independant of the executing application. How can I determine the DLL path?

View 1 Replies

Determine The Name Of Months

Jul 13, 2010

I want to get the name of months base on the datediff result. What i've done is that i determine first the number of months in datediff function

Datediff(Months, "13/07/2010", "13/03/2011")

The result of that is 8. Since 8 is the result i want to convert that into months witch supposed to be:

[Code]...

View 3 Replies

Determine When App Has Had Any Activity?

Nov 11, 2011

Does anyone know of a way to detect recent activity in a VB.net windows forms application?

We have a retail store where users share floor computers, the application will be on each machine and require a log in before use. I am trying to find a way to automatically close the application if it has been idle for lets say 10 minutes.

I guess I could do something similar with the current windows log on session - set a gp that logs the user out after 10 minutes of inactivity - but if there is an easy, non memory intensive way to do it in vb.net i would rather use that method

View 4 Replies

How To Determine If DateTime Is Not Set

Jan 11, 2010

In VB6 if I wanted to see if a datetime field wasn't set, I could do something like if myDate = 0 then. I tried that with VB.NET and it can't compare to an integer. How do we do this now? I found the Ticks property, so if myDate.Ticks = 0 does seem to work, but I'm not sure if that's the "right" way to do it. None of the other things I've tried have been successful.

Dim dt As New DateTime
If dt.Ticks = 0 Then MsgBox("dt.Ticks = 0") 'this fires
If IsDBNull(dt) Then MsgBox("IsDBNull(dt)") 'doesn't fire, so no good
If Not IsDate(dt) Then MsgBox("Not IsDate(dt)") 'doesn't fire, so no good
'If dt Is Nothing Then MsgBox("dt is nothing") 'not legal syntax

View 9 Replies

How To Determine Path App Is Run From

Mar 26, 2010

How can I find out what directory my program was launched from? Or maybe the installation path?

View 2 Replies

How To Determine PHYSICAL Key

Feb 14, 2011

I want to hook the keyboard and make some actions (in vb.net) when a specific physical key is pressed.I have found online several excellent keyboard hook dlls, but there is a problem: the hook dlls find the keycode of the pressed keys, not what physical key is pressed.So, for example, in a USA keyboard if I press the key on the left of the Right-Shif key I see the e.keycode: 191 (OemQuestion), in a italian keyboard I see the e.keycode 189 (OemMinus).This means that if I put in My.Settings the code "189", an italian user can see that has to press the key I want, an USA user see another key to press to have the same action because on it keyboard the OemMinus key is not on the left of the Right-Shift key.now the question is: how to determine univocally the keyboard keys? What do I have to put in My.Settings that determinate a specific physical key, the same for all the keyboard languages?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved