Delpasso22's Q&A profile
Visual Basic Starting/Stopping Processes Problem (vb, visual studio 2005)
Ive been trying to create a small application to start and stop "spoolsv.exe" (and some other processes) as I want to be able to stop it when I play games or run other demanding applications. Without going into services.msc I have had both the Start and Stop commands working on their own but when I integrate them into the actual project only one will work. Start Process Code Private Sub StopProButton_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Dim myProcesses() As Process Dim myProcess As Process myProcesses = Process.GetProcessesByName( "spoolsv" ) For Each myProcess In myProcesses myProcess.Kill() Next End Sub This Works fine on ...Show All
SQL Server Login failed for user "David". Reason: Not associated with a trusted SQL Server connection.
I am very new to SQL Server Express, so I watched the video on how to create permissions in SQLSE. I did what I seen, and I still cannot connect to the specifed database. I did create a login account in the main part using SQL Auth., then I create a login account in the database, and set its role as dbowner. After all that I disconnected the object explorer and tried to use the account that I just made and it didnt work, I also went to VBE and tried to connect from within the database explorer and I got the same error above. I can go to a different pc and try to connect with the same result. I did watch the video again to make sure that I didnt miss up and what I did was right by the video. I did try to set another name and ...Show All
Visual Studio Express Editions Removing Projects From VB2005 Express
How can I remove projects from MS VB2005 Express Edition. I removed them once before using the Registry, however, I have forgotten that procedure. Any help appreciated. To remove the project from a current solution right click on the project name in the solution explorer and then click remove (as ahmedilyas stated) To remove the file from MRU list... Edit the registry at your own risk....take a look at Software\Microsoft\VisualStudio\8.0\PrijectMRUList ...Show All
Visual Studio Express Editions Transfer Data from one form to another
Hi how do you transfer data a user has typed in on one form to a label on the second form I am dabbling in Vb.Net and this seems like such a simple concept, but trying to find it written this simple is EXTREMELY APPRECIATED. Thanks for you input, it is hard to wade through the information overload sometimes. ...Show All
Smart Device Development Migrating to 2005: MFC ARMV4 problems
Hi I've been working on migrating an EVC++ 4.0 MFC (armv4) project to Mobile 5.0 for a few days now. It's proving harder than I thought.. Anyway after having read forums here and there and rewritten parts of the code, I've managed to get it to build and link. However something is wrong with the platform target, it does not run on the pocket pc (Qtek S200) and the binary is almost twice the size!! I am unsure what to do, there are sooo many settings to toy with, but apparently the project has been upgraded to ARMV4I from an ARMV4, which I suppose is part of the problem. When changing to ARMV4 target, I get a linker error: cellcore.lib(cellcore.dll) : fatal error LNK1112: module machine type 'THUMB' conflicts with target machine type 'ARM' I ...Show All
Windows Forms want to integrate F7 key as a shortcut key to initiate grammar checker.
Hi All, I want to initiate grammar check when F7 is presse. please tell me solution as soon as possible. Thanks a lot. Regards, Kamlesh Jim Blackler wrote: kamlesh patel wrote: Thanks Jim. I have done that by capturing KeyDown event. Hi All, I want to initiate grammar check when F7 is presse. please tell me solution as soon as possible. Thanks a lot. Regards, Kamlesh You want to add an action on F7 to a Windows Forms . NET application that you are currently developing, and you have your own grammar checker ready for deployment ...Show All
Visual Basic treeview dockable with autohide
How can I make a treeveiw display dockable with autohide capability Hi, Try Weifen Luo Docking suite. It truly excellent and lot of projects and commercial applications have used it. You can find it here: http://sourceforge.net/projects/dockpanelsuite There is also an extension posted on CodeProject.com, which extends the Weifen Luo to give you a Visual Studio 2k5 look and feel. Its writtenn by Danilo Coral lo http://www.codeproject.com/useritems/DockPanelSkin.asp df=100&forumid=313011&exp=0&select=1542912 hope you find these links useful ...Show All
Software Development for Windows Vista CallExternalMethod: Ambigious match / Overloaded methods
Hi, I think we have found a bug in the designer for CallExternalMethod activity. We have an interface which is used by the CallExternalMethod activity. This interface has two overloads: public Task CreateTask( Guid ParticipationId, DateTime StartDate, DateTime EndDate, string TaskName, string PageLink, string TaskDescription, Rop.Data.PlatformDatastore.TaskData. Types TaskType) public Task CreateTask( Guid ParticipationId, DateTime StartDate, DateTime EndDate, string TaskName, string PageLink, string TaskDescription, Rop.Data.PlatformDatastore.TaskData. SavedAnswerset subjectAnswerset, Rop.Data.PlatformDatastore.TaskData.Types TaskType) When we select in the CallExternalMethod activity instance the interface and ...Show All
SharePoint Products and Technologies Separate Association and Initiation forms - 2 solutions
Hi, I have a workflow that uses three forms, one for association, one for initiation, and one for edit task. When I first associate the workflow with a list, the association form opens correctly with the pre-defined association data that I passed to it. The problem is, when I try to instantiate the workflow on a particular document in the list all I get is the message, "The form has been closed." When I looked in the logs it looks like the Initiation form is looking for the association schema and not finding it. I know the association data is passed to the initiation form, but if the schema is available for opening the association form why isn't it available to open the initiation form Is there something I'm not specifying in ...Show All
.NET Development socket.BeginSend cause some SocketError.NoBufferSpaceAvailable !!!!!
Hi, I have some code like this : while(isTransferringStream) { ... SocketError error = SocketError.Success; socket.BeginSend(buffer, .... error, ...); if (error == SocketError.NoBufferSpaceAvailable) throw new FatalException(); ... } And, during long transfer, I got some "SocketError.NoBufferSpaceAvailable" errors... !!! How can I handle this I have try to synchronize this by using a "ManualResetEvent" that only allow a "BeginSend" once the "callback" has been called... but this decrease performance ! Without lock : 130 Mb/seconds With lock : 80 Mb/seconds Really, is BeginSend so scalable and so fast ! ! Thanks for your advice Hi, I know what it is, it is normal to have thi ...Show All
Visual Studio Team System Moving Data to localized Foundation Server
Our group is using english TFS. Now is our Firm wants to install a new TFS (German version) for all developer groups. And our group need to move our Data (only WorkItems, no source code) to this new server. Is it possible to back our database and restore it on a new server Or can we export english WorkItems and re import them on german TFS Marking this as answered because it is answered in http://forums.microsoft.com/MSDN/showpost.aspx postid=596497&siteid=1 ...Show All
SQL Server SQL2K - NO Rows inserted with BULK INSERT cmd (no error)
To all SQL gurus, I am just having this weird issue recently with the BULK INSERT command on one of our SQL2K servers which always returns the message "command(s) completed successfully" (Query Analyzer) but no rows get actually inserted into the bulk table. BULK INSERT LOADTMP FROM 'D:\TEMP\MYFILE.CSV' WITH (FIELDTERMINATOR = ',', ROWTERMINATOR = '\n', MAXERRORS = 20) > The command(s) completed successfully. The same BULK INSERT command used to work for the past year or so and still works just fine on the other servers but for some unknown reasons, it just stopped working on this one box while always returning the message: "the command(s) completed successfully"... I did try to provide some bogus non-existent filename in the BULK INSE ...Show All
SQL Server temdb is full when I run DTS task with OLAP processing
Hi, I have some problem: Evryday I autmoaticaly run SqlAgent job with DTS task that run tasks: 1. SQL Task: Shrink tempdb database 2. Analysis services task: Process ALL Database From some time the job fails to run. I have error indicating that tempdb is full The error string is: "The log file for database 'tempdb' is full. Back up the transaction log for the database to free up some log space" The size of temdb file growth to 20GB. When I process Databse manually in Analysis Manager the database process correctly (because Analysis Manager do not use tempdb but temp folder) What I should do in this case I shrink tempdb before every processing so back up of transaction log will not help me. Any sugestions I'am using SBS 20 ...Show All
Visual Basic Moving text from one place to another
For my program I need to be able to take text from one text box where the user will enter information and include that in a text box with information. (ex. for an aircraft callsign, Cessna N4734W is entered in a textbox on one form, then when they are viewing another form, the text wil need to have the callsign in the info - Cessna N4734W, requesting takeoff - or something among that sort.) I also need to know howto make it so when a button is pressed, that information will be entered into a textbox. The textbox where the "request takeoff" part is a masked textbox. This is a major part of my program and I need any help anyone can provide me with! Thanks maybe you can create a modula to store the databas ...Show All
Game Technologies: DirectX, XNA, XACT, etc. GSE issues
I designed an InputManager and a Player as GameComponent, The Inputmangare has a property which is a collection of Player. Once i drag them into the Game and i start populating the property from the designer i get my player Created (but i cannot see other previously created players) after that no code is generate and the property is empty again. Any idea colombod: In order to serialize the contents of a property, rather than the property itself, you need to apply DesignerSerializationVisibilityAttribute to your property with DesignerSerializationVisibility.Content as its value. For more details, please refer to this walkthrough: http://msdn2.microsoft.com/en-us/library/ms171731.aspx --Stephen ...Show All
