VS 2005 Error On Users Computer

Jul 28, 2011

I have someone who downloaded my program using click-once. My program allows user to read a .txt file and then manipulate data The user selects the file to open by goin gto File>Open on menu strip

I have a user who gets an error message upon clicking on File Open

It doesnt open up the OpenFileDialog return ans unhandled exception

Method not found System Windows.Forms OpenFileDialog get_SafeFileName

Anyone have an idea what i should be looking at I cant re-create it on my end

View 16 Replies


ADVERTISEMENT

Get A List Of Users On Computer?

May 19, 2010

I am trying to get a list of users on my computer Example of what I want;

UserNames:all users

Weather they are active or not IE active:yes Total users: Example 4 I am using a ListView to display the information just not sure of the coding?

View 1 Replies

VS 2005 : Dial A Computer From Another Computer Using Modem For Sending Files And Message?

Jul 11, 2009

I am trying to dial a computer from another computer using Modem for sending files and messge.Follwoing is the code done in dialing computer

Text1.Text = "Test string from App1 "
Number$ = InputBox$("Enter phone number:", "Number$")
If Number$ = "" Then Exit Sub
Temp$ = Status

[code].....

But after the dial tone, i am getting the exception "CTL_E_GETNOTSUPPORTED " at the line MSComm1.Output = Text1.Text?

View 6 Replies

Get A List Of Users On My Computer And Assign Them To A Combobox?

Nov 1, 2009

How can I get a list of users on my computer and assign them to a combobox?

View 4 Replies

Computer Generates A Random Number Then Checks It Against Users

Feb 15, 2011

I'm Trying to make a piece of software where You enter a number and the computer measures the length of the number, and then generates random numbers to match the human number. It will then count the number of guesses and the time taken. However it always comes up that there was a infinite loop "An unhandled exception of type 'System.StackOverflowException' occurred in System.Windows.Forms.dll". I have searched up how to do this and I can't seem to find out how. I think I just put my wording wrong when looking it up. My Software Has Has 2 TextBox, 2 Buttons, 6 labels (4 just to make it user friendly) and a timer.

Here is the Code:

Public Class Form1
Dim TimeTaken As Integer
Dim GuessesTaken As Integer

[Code].....

View 9 Replies

Use A Slider To Adjust The Users Actual Computer Volume

Nov 13, 2010

I have been trying to find a code that would allow me to use a slider to adjust the users actual computer volume. Is this even possible?

View 1 Replies

VS 2008 My.Computer.Network.DownloadFile - Get Rid Of The File When A Users Cancel

May 7, 2011

I use this line to download files: My.Computer.Network.DownloadFile(VideoFilename, SaveLocation, "", "", True, 8000, True But if a users cancel the download my application crashes. I searched Google but there's very little info about this problem. I tried with: My.Computer.Network.DownloadFile(FilenameMP3, SaveLocation, "", "", True, 8000, True, FileIO.UICancelOption.ThrowException, FileIO.RecycleOption.SendToRecycleBin()) But that line of code doesn't work. I need to get rid of the file when a users cancel

View 1 Replies

Game Programming :: Pig Dice Game - When Program Runs - Never Goes To Computer's Turn And Does Not Update Users Score Either

Apr 18, 2012

On programming assignment without having any real experience in vb. I guess I don't understand subroutines that well. When the program runs it never goes to the computer's turn and does not update the users score either. This assignment is already in but would like to know what is going wrong. Using VB 2010, and this is windows application.

Code:
Public Class Form1
Dim Myturn As Integer
Dim Computerturn As Integer

[CODE]...

View 6 Replies

VS 2005 Performance Difference Between Using WMI And My.Computer.X.X In VS 2005?

Jun 19, 2009

I am writing an application to gather, display and export system information for use with a Support Dept.Is there a performance difference between using WMI and My.Computer.X.X in VS 2005? Is one method better practice than the other?There are more lines with WMI, but am willing to write more if it's considered good practice over using My.Computer.X.X.

View 2 Replies

VS 2005 Users Permissions?

Apr 12, 2010

Now i'm working with users so for each user there are many permissions like add, update, view and delete, but i was thinking create a bit type data for each authorization, then i would load each one with 0 or 1 and show only the authorized form for the user. Could I do this? or there a better way to do the same?

View 7 Replies

[2005] Preventing Users From Using IE?

Jan 6, 2009

Does anyone have any experience in writing VB.Net apps that control Internet usage? I have a friend that needs to have her office computers monitored in order to prevent the users from playing on the internet. I'm not sure what the best approach to this issue is.

View 9 Replies

VS 2005 Creating Different Instance For Different Users?

Aug 29, 2009

I have created a multiuser application and at different user login i want to create different instances of the application.How to do this? Can somebody give the concept of how to approach this?

View 14 Replies

[2005] Able To Set Permissions For Users As They Log Into Our Software ?

Jan 31, 2009

My problem is that i want to be able to set permissions for users as they log into our software. When the program loads the users get the logon screen. Then once authenticated (in SQL)they can access all of the forms. What i want to know is can i create some sort of access levels. So for example if i was to login to the software as admin then i can see the "system" menu whereas if i login as someone else they cant see the menu. Can it be done in SQL, like my authentication. Even if we added an extra column called access then if it was set to 0 you are an admin and if it is set to 1 you are standard.

View 3 Replies

VS 2005 - Sending Instant Alert To App Users?

Apr 15, 2009

I have a vb.net (VS 2005) application which downloads files from my webserver and shows its contents to user. And I make files at my end and upload files to webserver so that the application and download & process it. This happens at fixed intervals. Now I intent to send an instant alert to users who are using that application. For example: If I type a message and send "Hello everyone" then all those people who are currently using that product should get a popup with this message. My webserver is a hosted on a unix based system. It enables me to show html content and post files & stuff online. In order to achieve my goal of sending an alert which users should get immediately what do I need to do?

View 6 Replies

[2005] Grant Folder Access To All Users?

Jan 20, 2009

In my application, I create data and log folders that must be shared by all users using this computer. I did a lot of research, and I found a function that is supposed to grant full access to every users of a folder and its children. However if right-click properties on my folder, the access is unchanged. ow should I grant full access to all users of a folder and its children (I don't care who created it, all users should be able to read and write to that folder)?

Public Sub GrantAllAccess(ByVal Folder As String)
Try
Dim DomainUser As String = Environment.UserDomainName & "" & Environment.UserName

[code].....

View 5 Replies

2 Users Open Same Ado Record (SQL Server 2005) Via VB6 Front End?

Oct 26, 2009

is there a way to tell if the record is currently open (for editing) by another useregclerk 1 gets recordset for a person. pessimisic lock, client cursor.

View 1 Replies

VS 2005 Users Authentication - Authenticate Each User Every Time

Apr 12, 2010

I want to authenticate each user every time. in vb 6.0 i used this

Private Sub cmdIngresar_Click()

Dim rs As New ADODB.Recordset
Dim strConsulta As String

[CODE]...

So, my question is how could i modify it for vb2005, because vb2005 don't use recordsets?

View 4 Replies

VS 2005 Removing Folder From Users Programs Menu During Uninstall?

Mar 22, 2010

how to remove a Folder created in Users Program Menu under File System, when an application is uninstalled? During installation of the Application, a link is created at the users desktop and also in Users Program Menu. However during uninstallation the link for the Users Desktop and User Program Menu is removed, but the Folder created in the Users Program Menu remains.

View 4 Replies

VS 2005 Get Computer Name?

Nov 25, 2009

bow to get Computer name in VB.Net. Tell me one thing more that Computer Name & machine Name are same or different?

View 4 Replies

VS 2005 - Setting A Users Desktop And Startup Program File Icon

Jan 25, 2010

I am trying to create a setup file which would automatically install a link to the executable in the User's Desktop and Startup--> Program. However despite following all the steps in the right order I do not see any short cut in the desktop and Start -> Program.

View 4 Replies

VS 2005 Control Computer Through .net?

Feb 26, 2011

i want that i control my compute through vb.net. i mean to say that i want that i have a projec on which i have buttons though which i could go to any drive of my computer, or any folder, or can play any song or can open any image or any other file. can i do this?

View 7 Replies

VS 2005 How To Identify A Computer

Jul 27, 2010

on a network how can i identify a computer uniqulyof course not by system IP , why because IP can be changed easily or else other person on a network can change his system IP to another system IP while that IP in shut down status.hence i want to identify a system duly keeping any text file + some id written in it at any said address

View 1 Replies

C# - Website Different Error Page For External And Internal Users

Jun 22, 2011

Scenario: We have a website that is viewed both internally and externally. When an error occurs the users are displayed with a detailed error page(Stack trace etc). Problem: The external customers do not need that much information about the error. We are looking to have the external customers see a message instead. Ex. Please contact Administrator. Also if possible we would like to log this message in our SQL database.

Note: I'm assuming I make a custom error page like - Implementing a Custom Error page on an ASP.Net website. but how do I determine whether or not the user is internal/external? Also is this the best way to approach the problem?

View 5 Replies

VS 2005 - Change Computer Name And Add To Domain?

Jul 15, 2010

I would like to make a VB.NET program that changes the computer name and then add it's to the domain.

View 6 Replies

VS 2005 Get Date Computer Name Was Changed?

Nov 14, 2009

Is there anyway of reading the date a computers name was changed? I can get the OS installation date which is the same date that the computer name was first set.

View 1 Replies

VS 2005 Using Priority At Computer-chooser?

Oct 14, 2010

We have an assignment at school to make a programm with visual basic that helps the user choose a computer, better give him a choice of 3 PCs.the following code is how far we are with comparing but we are knew to VB so...

Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Dim num1, num2, num3, num4, num5 As String
Dim i, j, x As Integer
Dim help(5, 13) As String

[code]....

sol() is a global variable that contains the characteristics of our 14 computers (in our own format, lol) which we then compare to the users input (via combobox). With "ordi" we "format" the choise of the user to match our format. then the grand comparing begins... the first for-loop should select the computers which fit best but we don't know how to "skip" that computer if the comparison doesn't fit (after all, we still want to use that computer for a second or third choise!). After that the next for-loop should pick the best fitting computer as no.1 (going from top priority down).

View 9 Replies

Connect To Sql Server 2005 Or 2008 By VB From Another Computer ?

Jul 15, 2010

how can connect to sql server 2005 or 2008 by vb.net from anther computer ? and this computer donot have sql server.i made search on internet and result was use sql client tools but i made search and try to download sql client tools but i did not get any result.so how can i connect to sql server 2005 or 2008 by vb.net on anther computer or on network LAN.

View 4 Replies

VS 2005 - Computer Name Appearing In Upper Case

Oct 9, 2009

Both of the below return the computers name in upper case even when the actual name is in lower case:
MsgBox("Computer name: " & My.Computer.Name)
MsgBox(Environment.MachineName)
Is this true for every windows version? I only use MsgBox when testing.

View 3 Replies

VS 2005 Default Language Settings Of Computer

Sep 15, 2011

How can I obtain the default language settings of the computer using vb.net code?

View 1 Replies

VS 2005 Drag And Drop From Files On My Computer

Jul 8, 2009

I am trying to do drag and drop from files on my computer.Say the user has a file on the desktop, and he/she drags it onto the open application, I would like it to read the file path of the file and put that in the first column of my DataGridViewI have tried this but get no luck, I have DataGridView AllowDrop equal to True, but when I drag a file to it I get the "Circle with a line through it" action meaning it can't be done.How do I drag and drop?

View 3 Replies







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