Making Vshost Eat All Computer's Cycles?
Jul 5, 2011Something I have done is making vshost eat all my computer's cycles. Anyone know a procedure for determining where the hangup originates?
View 5 RepliesSomething I have done is making vshost eat all my computer's cycles. Anyone know a procedure for determining where the hangup originates?
View 5 RepliesI am running a simple test app that opens an OLEDB connection, retrieves a single value, then closes. The compiled (console) app works fine, but running it from the IDE causes either a silent close (if it's a winforms app) or a crash of vshost32.exe if it's a console app.
The devenv is VB 2010 Express on Windows x64, but I have the configuration manager on the solution set to "Debug" - "x86".
Imports System.Data.OleDb
Module Module1
Sub Main()
Dim server As String = "xxxxx"
[Code]....
I was thinking about making an interactive computer survival game, such as the Rainbow Survival levels in Little Big Planet. I was wondering if there was a tool i could use to create the objects, such as the character, explosives, bombs, and point bubbles. i know how to make all the objects move, i just don't know how to create them to begin with, is there a certain tool in Visual Basic 2008 i could use?
View 4 RepliesI'm working on a project where I make a automatic messenger from VBnet. I want to program a simple one that responds to certain words or phrases. However, I only know the rough basics of If...Then commands. I have a lot of problems:
1. How do I make it so the messages typed in the box actually goes up into the script box when I press send?
2. How do I program a slight delay in the computer's answer?
3. How do I set a name to the computer and to me?
4. How do I make the script goes into scrolling when it runs out of space.
5. If possible, when I type an equation in the box, can I program the computer to solve it and display the answer? I'm a beginner so I don't really know the overall organization of this project. However, I would like it to remain as simple as possible.
I'm using vb.net 2008. Just want to ask how to make exe file? Installation not needed but open automatically to other computer.
View 14 RepliesI have a need to get the number of CPU cycles used by a specific process using C# (or VB.Net). This information is available in the Process properties popup within Sysinternal's Process Explorer. For instance, the browser that I'm using the post this message has currently used 18,521,360,165 cyles (give or take a few hundred million). Does anyone know how to get this information from a .Net app? I know how to get the CPU usage (percentage), but this isn't what I'm looking for. I need a way to compare CPU usage between two different processes running at different times.
View 3 RepliesFor some reason, the next code found on MSDN crashes or exits after 30 cycles or, in other words, after processing 30th Property, exits without explanation. As I said, I found it in MSDN
[Code]...
In app.config, I supply a cycle string value: "Monday", "Tuesday", ..., "Daily". From that value I wanted to assign a <Flags()> enum. Simply using DayOfWeek does not give me the ability to flag a process as a daily routine. Is there an available .Net class that does provide the day of week as a flag?
In the meantime, I devised the following:
<Flags()> _
Public Enum enumExportCycle As Integer
Monday = DayOfWeek.Monday
[Code]....
my projects in vs 05 & 08 are not running ? yyyyy? message is appearing tht vshost .exe file is missing while package loading something id is missing?
View 2 Repliesthe code working is fine. the crystal report 9 when I use vb.net 2003. but the crystal report 11 when I use vb.net 2008. the same code is not working. the message say: vshost is stop working. can you tell me how to make is working?
View 2 Replieshow to capture an on/off signal from a relay and count the seconds of elapsed time between the cycles on a com port? Also, which pins on the com port should be used for this?
View 12 RepliesThe application is like a client for a game site. I made it for the fan site i am apart of to help the members of our community.The application crashes when you click play on the game at the site. The game site uses Java all games are made in Java so i am guessing its a conflict with the Java, if you can help me it would be great i will attach a copy of the application for you to look at if you need.The password for the application is "cr2pafut" user name is anything you want it to be.url...
View 14 RepliesI have developed a program that allows drag and drop pictures using the followng [code] this will display the image in the pictruebox and saves the location of the image to a database. at this time i can rename the image in windows using the file.rename() function.now if i exit and come back into the section of the program with the image.i query the database for the image location and use the same type of code aka ploc [code]Now when i try to do a rename of the file i get an error that says access denied. I have even tried changing images, but as long as i am in the program i get access denied.I also can not change or delete these file from windows as long as my application is runningfile.rename() Is there a way to force my program to stop using this picture so i cand rename or delte it?
View 2 RepliesLast week my nearly seven year old computer CROAKED. My data is fine, but the machine just quit.I have a new 64-bit Windows 7 computer as I was forced away from my old friend XP and left no real option. I'm not sure that that's related to this problem or not, but I suspect that it is.
I re-installed Visual Studio 2008 and set about to make sure things worked or figure out what didn't and try to get them resolved. I'm up against a very basic issue here that I have no idea about though (please keep in mind that I'm so new to this whole Win 7 thing that I'm not sure if it's a security issue or what, and if it is, I haven't a clue how to do anything with it).
I set up a very basic little test program, added an Access database (one table) using the connection wizard. I've done that thousands of times on my old machine and never had the first problem with it.
I added it to the form in a DataGridView and go to run it and Win 7 pops up several things about "vshost had a problem". It shows no data in the grid even though I know there's data in the table.
Here's a curious part: I thought that I'd get it to tell me how many rows it's "seeing" after the table adapter fills it, so in the form's load event just after the fill, I declare a integer to tell me the row count. I put a break point there and it never GETS to that second line!
This code seems to be accurate when comparing to the many examples that are similar on different forums and I would think it should work:
Dim pC As New Process
pC.StartInfo.CreateNoWindow = True
pC.StartInfo.RedirectStandardOutput = True[code]....
When I remove the pC.BeginOutputReadLine() command, the application continues to function, but nothing is added to lbOutput.
With the pC.BeginOutputReadLine() command, it gives the error "vshost.exe has stopped working"
Either way, my batch file does what its supposed to do. Any one have any ideas what I am doing wrong with the process?
I have a program that runs fine in the debugger. I started on the project in x86 mode this January and I've always been able to run it outside of the debugger, but this is the first time I've seen this error.The error says "ConfigurationErrorException was unhandled: Configuration system failed to initialize."The InnerException of the error said that the error was in the user.config file, and it gave me the directory of the user.config file that it was using. So I clicked synchronize in the project settings thinking that it would overwrite the current user.config file and that would probably fix the error. When it showed the confirmation dialog that it would delete the user.config file, I noticed that it had "vshost" in the directory.
View 1 Repliesvshost.exe crashes when I type something in a TextBox with AutoComplete enabled. It doesn't give an exeption in visual studio.
This is my script:
Imports System.IO
Public Class Form1
Dim AutoComp As New AutoCompleteStringCollection
[Code]....
I am unable to debug any projects as of a Windows Update 2 days ago. It not only caused problems with VS 2008 but also SQL Server 2008. I did a system restore and my SQL Server is back to normal, but VS 2008 will not debug any projects. I get a vshost.exe has stopped working and then a file exception error. I am copying the file exception msg:System.IO.FileNotFoundException was unhandled
Message="Could not load file or assembly 'sortkey.nlp' or one of its dependencies. The system cannot find the file specified."
[Code]...
I have tried repairing VS 2008 and also a SFC scanow from the cmd prompt. I have also tried unchecking the vshosting property. Nothing works
I'm using this code for encoding with wme.
No erros but if I rn the app vshost.exe stops working.
Its somethignw ith the DEP?
Imports WMEncoderLib
Public Class Form1
Dim WithEvents MyEncoder As WMEncoder
Dim MyProColl As IWMEncProfileCollection
[code]...
I know I am missing the obvious. I would like a label to show how many cycles in loop are left.
[Code]...
I have a form that cycles through a database table with next and prev buttons Database name is "China.accb" and the table is called Users Table Users has two fields, both text.One is called UserID and the otheris Password"am getting an error message when I try to click the next button that states: "Unable to cast object of type "System.String' to type System.Windows.Forms.Textbox'. I've highlighted the line causing the error below
Imports System.Data.OleDb
Public Class frmUsers
Dim intMaxRows As Integer
[code].....
I'm a huge music person (got my own lil record thing going) but I'm wanting to design a program that would make music in my way. I have a decent amount of background knowlege of Visual Basic and Java I'm just wondering how could I execute this whole project. The Project is making a MPC Sampler. MPC is a drum machine; a machine with buttons that once you press it that it will play a sound from a drum (ex: snare, kick, tom, ect.) . So I would want to make some pads on my program that each have their own sound. Total of 16 pads. Which the design wouldn't be hard to make nor would the functionality of it having the play back sound (in my opinoin it wouldn't be hard atleast). But the thing is I wanna map out these pads to number keys on the number pad or keyboard. I'm not so sure how to do that. But that's all the easy stuff...
Also finding information is making a sound directory. What I mean by this is that I want to make a User Interface that will open up a file directory of sounds and the user can select what "kick" or "snare" sound he may want for the kick or snare pad. I don't know how to do that or even know what to search; neverless I don't know if this whole project idea is a good idea for Visual Basic or another programing language.
Also LATER ON I am wanting to add a record and export function that alows users to..well...record and export their beat or instrumental ha. That doesn't seem too too complex (mainly due to the fact that all it needs to do is record the users key strokes and then show them and play the sounds, but obviously it would get more complex than that.)
Here is an image of one of many MPCs but one with a directory - [URL]
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 ?
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.
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?
i have encountered a problem, i want to access the data coming to the computer from the in-built bluetooth module of a computer on windows platform, this data has been sent by a remote bluetooth module say a by an autonomous device (just like a bluetooth mouse connecting to the computer). The to be sent is in the form of numbers and i need these to manipulate on the computer.
View 6 RepliesI have a desktop computer with a cable connection on the back that allows me to watch TV on the computer using Windows Media Center. I had the idea of writing a program that would access this feed and send it to another computer (laptop) via my network. That way I would be able to watch TV from anywhere that my network spans. I have no idea if this is possible or how I would even do it,
So I have three questions.
1: Is it possible?
2: How would I go about access the feed?
3: How would I send it over the network?
My original thought was doing it in Flash, but I'm not very good at Flash so I wanted to do it in VB.Net.
I need to copy a file from a local computer to a remote computer on the network, if i try to use File.Copy without logon i get the following error:"Logon failure: unknown user name or bad password."How do I provide user name and password for file copy?
View 2 Replieshow can i look up for a specific computer given ip or computer name ...retrieve the user logged on..
View 2 RepliesProblem:When my computer restarts my mapped drive appears under My Computer. When I try to use it from code I get errors. If I open the mapped drive by double clicking it, and then try the code, it works. What I discovered is that when my computer starts the status, using net use, is
[code]...