Get A Exec Mod For The Desktop?

Jun 9, 2011

Being new to vb.net, how do i get a exec mod for the desktop ??

View 8 Replies


ADVERTISEMENT

Exec More Store Procedures?

Jul 26, 2010

The code below is right to execute more store procedures?

Dim mySQLCommand1 As New SqlCommand("sTruncate", myConn)
Dim mySQLCommand2 As New SqlCommand("sAddress", myConn)
Dim mySQLCommand3 As New SqlCommand("sProvider", myConn)

[code]....

View 1 Replies

Can't Compact My Access Mdb File Using Exec Outside IDE

Sep 25, 2009

I have a compacting subroutine which basically call for MSAccess compacting[code]...

It runs without a problem in VB 2005 IDE, no problem at all. However, when I compiled it, and build the set up, and deploy it. It throws up this exception:

"Could not load file or assembly 'Interop.JRO, Version=2.6.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified."

View 3 Replies

Exec Stored Proc With Parameter

Jun 17, 2011

I'm having troble getting my code to recognize the parameter for my Stored Procedure.This code below show how I select my files (commented out all other files to make sure one works first)It selects my files through the OpenFileDialog box, it loads the name & location of the csv file into memory and then I want to run a SP to import the csv into my database. I have set the SP up ok as it works through SSMS. [code]

View 8 Replies

C# - Use For A SOA Solution To Exec A Long Running Task?

Jan 30, 2012

I am developing a solution in .Net utilising the VMWare Web Service API to create new isolated virtualised development environments. The front end will be web based. Requestors input details for the specific environment which will be persisted to SQL. So I need to write an engine of some sort to pull the data from SQL and work on the long running task of creating resource pools, switch port groups and cloning existing VM templates etc. As work progresses, events will be raised to write logs and update info back to SQL. This allows requestors to pull data back into a webpage to see how it's progressing or if it's completed.

The thing I am struggling with is how to engineer the engine which will exec the long running task of creating the environment. I cannot write a windows service (which I would like) as we work in a very secure environment and it's not possible (group policy etc). I could write a web service to execute the tasks, extending the httpRuntime executionTimeout to allow the task to complete. But I'm keen to hear what you guys think may be a better solution to use (based on .Net 3.5). The solution needs to be service oriented as we may be using it on other projects within our org. What about WWF, WCF? I have not used any of the newer technologies available since .Net 2.0 as we've only just been approved to move up from .Net 2.0.

View 2 Replies

Open Excel On Local Desktop Using Remote Desktop Application ?

Jun 11, 2012

We have a Windows Forms VB.NET application running on Windows Server 2008. Users access this app using Remote desktop.The app displays information in Excel, but Excel opens on the server.Is there a way for the .NET app to launch Excel on the users local desktop?

View 1 Replies

Start Explorer.exe - Switching To A New Desktop It Starts A New Instance Of App In That Desktop?

Sep 5, 2011

Some of u already know I'm making a 'virtual desktop'- thing.Only one problem. When switching to a new desktop it starts a new instance of my app in that desktop (works) and on the form load event it says process.start("explorer.exe") <- here is the problem. It only shows a window not the actually bar.Also this may be important it shows the window, but when I navigate to explorer.exe 'C:Windowsexplorer.exe' and open it there. The explorer bar does show up.

View 14 Replies

VS 2008 - Use "Go To Desktop" Function That Goes Directly To Desktop Without Minimizing Any Window

May 17, 2009

I'm working on one of my applications and I'm trying to find a way to use the "Go To Desktop" function that goes directly to the desktop without minimizing any window (This can be achieved by clicking on the Win + D buttons or on the desktop icon in the quick launch toolbar), but how can I activate it using vb? I thought about sending keys but I guess there is more offical ways to do it.

View 10 Replies

Make A Form With Icons That Have Labels Are Like Desktop Icons On Your Desktop?

Mar 20, 2010

I would like to make a image in the form representing the icon and a label below it to represent name but is there a easy way to do this.

View 2 Replies

Desktop Path On Another PC?

Jan 27, 2012

Environment.GetFolderPath(Environment.SpecialFolder.Desktop)The main reason is we area talking about an Environment that has XP, Win Server 2003 (TS), Win Server 2008 and Win 7. Obviously different path depending on the OS. I need to copy a file to a users desktop and would like to do so without having to hardcode the path as it could change depending on where they are working from.

View 5 Replies

How To Do Same From Desktop Application

Sep 30, 2009

[code]This works just fine in ASP.NET (web app) but, how do i do the same from Desktop Aplication (vb.net) ?

View 4 Replies

How To Recreate A Desktop

Sep 30, 2009

im making a program which is a sort of mock OS, and im wondering if it is possible that, when i click a certain button, a picture box appears in the space which is the desktop. The picture box must act as a shortcut, for example if i click on new text file, a picture box with a text file picture appears on the desktop space, same for folders

[Code]....

you check the tutorials that you post! I am using Visual Basic 2008 Express, not any earlier additions! One of the tutorials was about how to make labels that tell you their screen location!

View 9 Replies

Path To Desktop?

Oct 9, 2009

I want to move a file from the users desktop to the running applications folder.This is what i have which works for me - but the desktop path will be different for each user so am looking for the system path

Dim FileToMove As String
Dim MoveLocation As String
FileToMove = "c:usersmedesktop est.txt"

[code]...

View 4 Replies

PHP Session When Using Desktop App?

Apr 11, 2010

how to POST to a php file form a vb.net app: http:[url].... So now I've logged in the user user by posting their username and password to the php file, the php file then does security/checks they exist/etc and if both username and password are correct is stores the user ID in a session variable.Now if the vb.net app tries to download data off a page which needs the user to logged in, it checks this by doing:

if (!isset($_SESSION['uid'])) {
header("Location: index.php");
}

However after having logged correctly in the app the session variable is not set.How does session work with a vb.net app like this?When the user logs in successfully should I download the user id and keep it in the vb.net app and then post it to each page that requires authentication?

View 4 Replies

Pin Sticks To The Desktop?

Feb 7, 2012

I'm making "Sticky Notes" and I want to be able to pin those stickies to the desktop. Sorta like a BottomMost function. Is there something like that I can use and if not, how would I even go about making a function that would keep my form on the desktop?

'Pins the program to the desktop
If saved = False Then
saved = True : PinToDesktopToolStripMenuItem.Checked = True : lblClose.Visible = False : Me.ShowInTaskbar = False
Else
saved = False : PinToDesktopToolStripMenuItem.Checked = False : lblClose.Visible = True : Me.ShowInTaskbar = True
End If

The reason I'm not going to mark it resolved is because if I click pin to desktop and the desktop isn't the application directly under my application then I have to minimize every program to get it to stay on the desktop.

View 10 Replies

Set A Form On Desktop?

Dec 8, 2009

In my application, when the main form loads, it also loads a second form.

This form has it's ShowInTaskBar property set to False, has no control box, and is not movable by the user.

This form is only used to show information about the PC, to the User.

I need a way to make the form pretty much completely inaccessible and appear beneath all windows. When the application loads, the second form loads above other windows and you can Alt+Tab to that form.

I was wondering if there was a way to get it to"set" itself on the desktop and no appear in the application list when you Alt+Tab.

View 8 Replies

Wcf+desktop App Or Website?

Nov 29, 2011

I am developing a school management system and I am struggling whether I should develop for [desktop app + wcf] or web app(website). Which one is going to be the best for the given scenario?The main goals for the "Integrated Web-Based School Management andQuality Audits Software Project for Secondary Schools are outlined below. In addition, specific objectives within each of the goals have been provided.Goal 1: To facilitate automated data entries in secondary schools

View 2 Replies

How To Make A Form Like A Desktop

Jul 25, 2009

i have two forms one is a text editer and the secone one is a big form and i want to save a file form the text editor to the secone form just like on a desktop would.

View 1 Replies

.net - Checking For A File On The Desktop In VB?

Oct 19, 2011

Is there anyway of searching for a file (shortcut file) on the desktop in VB? I've tried :

If My.Computer.FileSystem.FileExists("DesktopMYFILE.lnk")
doesnt return anything
If My.Computer.FileSystem.FileExists("DesktopMYFILE.exe")
doesnt return anything

[Code]...

View 3 Replies

.Net Form As Part Of Desktop?

Oct 1, 2011

I've spent a while searching around and I can't find a solution to this:I have a transparent, borderless form that displays a clock. I can load this just fine, but I want the clock to be part of the desktop, so it cannot take focus, is behind other applications, and is not hidden with Win+D (similar to applications like RainMeter).

I need the solution to work with VB.Net (I'm using 2010)

View 1 Replies

Add Text Into A Desktop Application

May 18, 2010

I would like to come up with a simple application that would add a specific phrase into a specific location on a desktop application. I assume this isn't very hard, but I'm kind of new.

View 1 Replies

Adding Icons To A Desktop?

Feb 6, 2009

Is there a way in VB .Net to add specific icons to a desktop like "Computer", "Network",Recycle bin", and "User" files? I want to be ablse to use it for XP and Vista, but Vista as a main priority. In vista you can Right Click the desktop select "Properties", click "Change Desktop Items" in the left hand corner, and then select the icons you want. I thought that maybe there is a way to do it by calling that, or maybe a way to do it in the registry.

View 1 Replies

App - Changing Desktop Wallpaper ?

Aug 25, 2011

I am having in VB.NET 2010. I am writing an app to change the background wallpaper kinda a little project I am making for my wife's grandma. It is a multiple wallpaper changer to change the wallpaper based on a list of images she adds. Anyways! I have everything setup except the fact that it doesn't change the wallpaper...

This code here:

Public Declare Auto Function SystemParametersInfo Lib "user32.dll" (ByVal uAction As Integer, _
ByVal uParam As Integer, _
ByVal lpvParam As String, _

[CODE]...

Will NOT change the wallpaper but the same code works in VB6 I tried it because I have made something like it before in VB6 but it was a game that changed the wallpaper. Anyways, using the above code in VB6 works(well with a change to the SystemParametersInfo declare to work within VB6. But it doesn't work in VB.NET. I have NO IDEA why everything gets set in the registry just fine from VB.NET but I just cannot seem to get it to update the wallpaper...

View 7 Replies

Application To Sit On The Desktop And Not Be Minimised?

Oct 3, 2009

I want my application to sit on the desktop and not be minimised? Can I do this some way??? not showing on top either?

View 18 Replies

Best Way To Store Data From Desktop App?

Dec 19, 2009

I'm writing an app in vb.net and was wondering wath the best way to store/retrieve data was?

View 5 Replies

Change Desktop Background?

Feb 17, 2010

Is it possible to change desktop background using VB.NET?I'd like to change the icons too plan on making a VB.NET program that can automatically make Windows XP look like Mac in just one click.

View 4 Replies

Changing The Desktop Wallpaper?

Jan 10, 2010

I am writing an app to change the background wallpaper kinda a little project I am making for my wife's grandma. It is a multiple wallpaper changer to change the wallpaper based on a list of images she adds. Anyways! I have everything setup except the fact that it doesn't change the wallpaper... This code here:

Code:
Public Declare Auto Function SystemParametersInfo Lib "user32.dll" (ByVal uAction As Integer, _
ByVal lpvParam As String, _
ByVal fuWinIni As Integer) As Integer
SystemParametersInfo(20, 0, Application.StartupPath & "Wallpaper.bmp", 1)

will NOT change the wallpaper but the same code works in VB6 I tried it because I have made something like it before in VB6 but it was a game that changed the wallpaper. Anyways, using the above code in VB6 works(well with a change to the SystemParametersInfo declare to work within VB6. But it doesn't work in VB.NET. I have NO IDEA why everything gets set in the registry just fine from VB.NET but I just cannot seem to get it to update the wallpaper..

View 4 Replies

Clear Desktop After Drawing?

Jul 31, 2010

I am trying to draw on the Desktop i have use GetDc (api function )to get the handle of desktop

Private Declare Function GetDC Lib "user32" (ByVal hwnd As Integer) As Integer
after that i have use this code to draw some test
Dim g As Graphics

[Code]....

the code is work 100%100 but the problem is that i want delete what i have draw , I meen that I want to clean the desktop is there any api function can do that ?

View 10 Replies

Connecting Database From Ppc To Desktop?

Feb 17, 2010

I have a database(.sdf file) in ppc folder - Storage CardProgram FilesEmpEmployee.sdf. I want to connect this file with sql express 2005. I use this code

Dim Con as new sqlconnection
Con = New SqlConnection("Data Source= 192.168.55.101Storage CardProgram FilesEmpEmployee.sdf;Password = 12345;Integrated Security=SSPI")

[code].....

View 3 Replies

Connecting Remote Pc Desktop?

Jul 7, 2010

I want to create a software for remote computer Desktop connection(we can see and operate remote computer in our computer display), can any one give Windows itself has a long procedure to do that(Remote Desktop Web connection), sometime it develops security issue, other options are 3rd party. I want to create it on my own.

View 1 Replies







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