Working From Multiple Computer?
Aug 17, 2009
VS 2008 express edition, OWC office spreadsheet 11 I am working from two computers, one in my campus and one in my home. I already make a short project with form and OWC spreadsheet in the userform. It works well in my campus and I want to continue in my home.After copying all directory of the project to my home computer, the project failed to load.
View 6 Replies
ADVERTISEMENT
Feb 8, 2010
Has this ever happened to anyone? It has happened to me and one of my customers in the past but I have no idea how he diagnosed it and it is happening with another one of my clients now. The application runs, but the HTTP requests do not. The application works 100% perfect on my own computer but not the customers. He has both the 1.1 and the 3.5 framework installed, and uses Vista (same as me). Can anyone shed some light on this situation because this is a huge huge huge problem that I would rather not have to worry about in the future with other clients.
View 6 Replies
Apr 23, 2010
I write a program designed for interacting with an Android phone that is hooked up to a Windows machine. One of the tools in my program is a utility designed to help the user root their phone.Now in order to root it goes through a command line utility called adb which lets you access a terminal on the phone. It must then type commands in that terminal. Most processes that this program does can be done through a batch file, however rooting the phone isn't one of them. The reason being once it actually logs in to the phone's shell, it stops running commands because it just gets stuck on that line, waiting for it to finish. So despite being a little primitive I designed that part of my application to use sendkeys. So the way it should work is:
1) It launches powershell as an adminstrator
2) Types the following commands (I have abbreviated the number of commands it types for the sake of this board. There's actually about 20 lines total): [code]
For the people that have this happen to them, it's always the exact same thing. It's like it completely skips all letters until it gets to a special character. I have no clue what could be causing this. The only thing I have found was that sendkeys wasn't totally supported but that running it as administrator would fix that, which is why I now have it run as admin. But that didn't help. I also had some success by using powershell instead of cmd, but it's still failing for a small number of people.Any ideas what would be causing this? Every other part of the program works perfect except for this. I haven't found any common element between the people that it is failing on. They aren't running the same anti-virus or the same programs. I program and debug on Windows 7 64 bit, yet someone else can run it on the same OS and it won't type it out properly.
View 1 Replies
Jun 27, 2011
I can make users to my own computer.....but i don't know how can i do this to a remote computer same way Here is my code:
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Try
Dim proc As New Process
proc.StartInfo.FileName = "net.exe"
[code]....
1.A User is created in users account(control-panel>users account).......but i want to create only the users account in incoming connection(vpn incoming connection)
2.I want to do it in a remote pc>>for example a pc ,which ip is 113.120.34.54,user: administrator,password: 12345
can i do it same way that i followed to create user in my local PC?
View 3 Replies
Jan 6, 2009
I used a background with dark gray regions as transparent regions for my splash screenOn my development computer, it shows transparent regions, but on all other computers it's opaqueI even tried installing Windows XP in VMware on the development computer, and still it didn't work!
View 3 Replies
Apr 23, 2010
VB 2008 Express. I write a program designed for interacting with an Android phone that is hooked up to a Windows machine. One of the tools in my program is a utility designed to assist the user root their phone. Now in order to root it goes through a command line utility called adb which lets you access a terminal on the phone. It must then type commands in that terminal. Most processes that this program does can be done through a batch file, however rooting the phone isn't one of them. The reason being once it actually logs in to the phone's shell, it stops running commands because it just gets stuck on that line, waiting for it to finish.
So despite being a little primitive I designed that part of my application to use sendkeys. So the way it should work is:
1) It launches powershell as an administrator
2) Types the following commands (I have abbreviated the number of commands it types for the sake of this board. There's actually about 20 lines total):
SendKeys.SendWait("mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system{ENTER}")
SendKeys.SendWait("cat /system/bin/sh > /system/bin/su{ENTER}")
SendKeys.SendWait("chmod 4755 /system/bin/su{ENTER}")
SendKeys.SendWait("flash_image recovery /sdcard/recovery-RA-heroc-v1.2.3.img{ENTER}")
Now it seems that for 90% of users, this works perfectly fine. However for a small group of people, this is what actually gets typed in to the powershell window:
> /system/bin/su{ENTER}
_image recovery /sdcard/recovery-RA-heroc-v1.2.3.img{ENTER}
For the people that have this happen to them, it's always the exact same thing. It's like it completely skips all letters until it gets to a special character. I have no clue what could be causing this. The only thing I have found was that sendkeys wasn't totally supported but that running it as administrator would fix that, which is why I now have it run as admin. But that didn't work. I also had some success by using powershell instead of cmd, but it's still failing for a small number of people.
Every other part of the program works perfect except for this. I haven't found any common element between the people that it is failing on. They aren't running the same anti-virus or the same programs. I program and debug on Windows 7 64 bit, yet someone else can run it on the same OS and it won't type it out properly. Is there something better that I could be using instead of sendkeys?
View 2 Replies
Apr 5, 2012
I am working on an OpenGL Visual Basic 2010 Express project using Tao.dlls.My computer has crashed a few times while I was last working on my code.Since then There has been some side effects such as intelisense and autocomplete not working when I load the project, even after checking the options and settings for them.When I start a new project on the other hand the features work again.Also when this OpenGL code is run:
Code:
glutMotionFunc(AddressOf MouseMotionGUI)
I get:
BadImageFormatException unhandeld
An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
This code was working fine before my computer crashed and probably corrupted some files.
View 6 Replies
Jul 4, 2010
I have a simple executor that when clicked, opens the CD tray.[code]On my computer it works fine but on another computer, it only opens the CD tray if there is no disk in it.[code]
View 5 Replies
Jan 14, 2009
In my [2005] application, I use the MacAddr / CpuId / DiskId of the computer to validate my licence using the WMI calls. The problem is we just can't thrust this feature because on a good percentage of the computers this feature is not installed properly or completely disabled.The users are not experienced, they are located in a remote location and I just don't feel like debugging their Windows installation every time they want to try my application.Is there a working alternative that I can use that will always return me a unique identifier for every computer which will always be available on 2000 / XP / Vista systems?
View 8 Replies
Jun 3, 2011
And here I am with a new problem in my program When I debug it everything works fine (the buttons, progressbars, pinger, spambot, When I compile it and run the Executable file, it works too.When I run the Executable file on another computer (tried on 4 different ones) the program stops working and
I get this error:
{$ exception. "Failed to create the form For more information, see Exception.InnerException error: File or assembly ." Microsoft.VisualBasic.PowerPacks, Version = 9.0.0.0, Culture = neutral, PublicKeyToken = b03f5f7f11d50a3a "or one of its dependencies not found. The system can not find the file specified .."} System.Exception {System.InvalidOperationException}
[Code]...
View 1 Replies
Dec 27, 2011
I'm trying to access a web server to download a file, but when I run the statement gives me the following WebException:
[Code]...
View 7 Replies
Jan 25, 2012
How can I check if a computer has multiple screens?And is it possible to move form to other screens aswell?
View 3 Replies
Jun 28, 2010
Now this program will only be used on systems that I produce, and send out. I need to make sure that for any monitor that these people use it will always be at the standard resolution of 1440 x 900..
I have tried setting up profiles with catalyst control panel, but if you plug in a different monitor to the one that was plugged in when you made the profile it wont recognise the screen and the system wont run properly.
So I wanna see if I can change the resolutions of the screen that will be plugged in the monitor slot and also if possible make sure the other extended screen should there resolution of 1024 x 768..how much control can you get over the monitors that are plugged in?
View 3 Replies
Jul 20, 2010
The coding that I have a problem with might make people think that I am creating some malware or something stupid. So the project I am doing is associated with iTunes. iTunes allows people to have one library. There is another way, but it is very confusing to some people, and very unreliable. So my project is that I will allow people to have multiple iTunes libraries on one computer. So the problem is this. In order to have an option to choose your library, I gotta make sure that iTunes is not running. So this is the script:
Code:
Private Sub CheckAndCloseiTunes()
retry:
'Custom class that includes the function to safely close iTunes
[CODE]...
So when I use the Threading.Thread.Sleep(2000) code, the form becomes unresponsive.
View 1 Replies
Jan 30, 2012
I have four list boxes, side by side. I've got a huge list of files that the program scans through and if (file insides) = (this) then; else if and etc. I know that part is working. The problem is actually the list boxes themselves. The reason I know this is:
I have four listboxes side by side, only the first one shows data, but if I delete the first one from the form, only the second will show data, if I delete first and second, the third one displays data, and if I delete the first three, the last one shows data. The problem is they wont display data at the same time. I was talking with someone else and they said I needed to change the IDs and I should see that option somewhere near the "Name" section. I use Visual Studio 2010... I don't see any IDs option to change. on how I can change this ID or maybe something I have to do to get these listboxes working?
View 11 Replies
Oct 4, 2010
I am currently making a book shopping cart. look at the pictures to get an idea.(main is the first form "file books" is when the second printbook opens and user selects. The application has four books and calculating the subtotal of them. The user can choose to buy any ammount of books. The "Add book to Cart" button calls the module1 Module1.main1()
And this is the module1 code ( I tryed using a select case)
Module Module1
Public Sub main1()
Dim Print As Decimal
[Code].....
View 7 Replies
Feb 18, 2009
I have a couple of questions regarding the use of multiple forms within a single project.I'm currently using a button to load a second form so that the user can select different options and then load those options from the first form.Basically, I have a check box on form2 and I want form1 to be able to know if it is checked. I thought I could just use:
if CheckBox1.Chcked = True Then
Etc.
End If
But, when I do, I get an error saying it can't identify the object I'm referencing.Also, when I open the second box and I click my "OK" or "Cancel" button, the page reloads and then I must press it a second time for it to actually close.This is the code I'm using on my first form:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim frmDialogue As New frm2Toolest
frmDialogue.ShowDialog()
If frmDialogue.ShowDialog() = DialogResult.OK Then
[code]....
The second form that has the buttons:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click
Me.DialogResult = DialogResult.OK
End Sub
[code]....
View 11 Replies
Jul 17, 2011
The program i made is an IP Finder. it uses MS WinSock, so i thought that would be the problem. I have already installed the powerpack and i got another program i made working
View 2 Replies
Mar 15, 2010
Im very new to programming all together, but Ive recently been messing around with Visual Basic 2008..
1. When using multiple forms, how do I make a form be the form that opens with the program (default form?)?
2. How do I assign a button to open a second form?
With what I'm trying to make, I have both forms ready, I just need form2 to be the one that is the first to open when running and I need the code for a button to open form1.
View 7 Replies
Aug 18, 2010
How would i reference a control or form from another project. I have a solution with multiple projects (Project1 & Project2 for example) and I want a button on Form1 of Project1 to open Form1 on Project2. I know if they were part of the same project it would simply be Form1.Show() and I thought something like Project2.Form1.Show() would work but unfortunately it doesn't seem that easy.
View 15 Replies
Apr 6, 2010
is they a way of keeping track for multiple instances of the same form? example saving the contents of a textbox ,the positition of the form and size when using the code below to create the new instance of the form ,i would like to save the contents of multiple form2`s from form1 ,can it be done??
[Code]...
View 6 Replies
Dec 15, 2011
I am developing project in which i am sending emails to multiple user as follows
Dim users(20) As String
users(0) = "xxx@xxx.com"
users(1) ="xxx@xxx.com"
[Code]....
View 1 Replies
Oct 4, 2009
How to work with multiple combobox. I have several combobox. I it to have same itemlist and set a default value for this.I used to do:
Code:
Dim MyItemToBox(3) as System.Object
For i as integer = 0 to 3
MyItemToBox(i) = "A" & i
Next
[code].....
View 1 Replies
May 6, 2008
I trying to do a drag drop from a listview in one form to another instance of the same form (same application running twice).I have it working with single items selections, but I want to make it work with multiple selections. 289508(VS.71).aspxThis works if I drag/drop onto itself (the same form), which I don't want, but I need it to work across instances.During debugging it seems the code DragDrop code just quits at the line during the drop:Dim myItems() As ListViewItem = e.Data.GetData("System.Windows.Forms.ListViewItem()")Any ideas what is wrong or how to drag/drop multiple items in a listview between apps?
here's my code:
Private Sub ListView1_DragDrop(ByVal sender As Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles ListView1.DragDrop
[code]....
View 5 Replies
Jul 23, 2010
I am making a program where there are 2 label boxes and I have scripted both so that they move when a key is pushed. what I am trying to make is a multiplayer game that shares one keyboard. So Player1 has keys num.8 6 5 4 and player2 has keys wsad.
[Code]...
View 6 Replies
Mar 14, 2009
so I have a generic list in a console application. Dim Channels as New List(Of Chatroom) Chatroom is a structure. But I have multiple classes, threads, and timers looping through this list, sometimes at the same time, but it always seems to raise errors because the number of items in the list gets changed while one of the other classes/threads/timers are looping through also. Is there any way to allow only one to manipulate it at a time?
View 8 Replies
Sep 24, 2010
I have to maximiize my screen for mutiple tabs. window.moveto is not working.I am using this code:
if(document.all)
{
top.window.resizeTo(screen.availWidth,screen.availHeight);
}
[code]....
View 1 Replies
Mar 19, 2012
i have a task to create a TCP Server (a program that is listening on its network card interfaces for incoming data stream).I have search on the internet and i found that i can use two methods : Socket or TCPListener class.I have created an example for Socket class, but i wondering how could i test it? I need to check that if another computer in the network send some string data to the listener computer , then this message should be displayed.Here is the example from microsoft that i am using for TCP Server using Socket:
Public Shared Sub Main()
' Data buffer for incoming data.
Dim data = nothingc[code]....
But it does not work because of the PORT setting.If in the TCP Server i have "Dim localEndPoint As New IPEndPoint(ipAddress, 0)" the client crashes, but if i change the port from any (0) to 11000 for example,the client works fine.Do you know why?
Later edit2:Maybe i should have started with this question:Which method is recommended for my scope?asynchronous or synchronous method ?
View 2 Replies
Jan 29, 2009
I am developing a computer application designed to monitor the network and CPU statistics on a computer remotely. The monitored computer would have my program installed and the monitoring computer would display, in a form, the information being sent from the remote client.The application does not send any information regarding packets, user names, passwords, etc. It is solely meant for monitoring CPU performance and Network resources remotely.
What would be the best method to send this information over to my host machine?I am programing in Visual Studio 2008 on windows XP. The client machine is also XP. I know this sounds a little shady, but it is required for my little business (http://www.iquorum.net) to monitor what and when something happens on our machines when I and my employees are away.
View 2 Replies
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