Vinay Kant's Q&A profile
Visual C# Can't zip nested folders
Hi people ! does anyone here used the java.util.zip package I need to zip a series of nested folders similar to this MyProjects/MicrosoftProjects/MyProgram/bin/Debug/MyProgram.dll however the ZipOutput stream requires a file,in this case MyProgram.dll.Does anyone have a workaroud regading the above issue I keeping hitting the FileNotFoundException as i specifed the sourcestream at MyProjects/ regards Wilson Actually, if you are usi ...Show All
.NET Development Concurrency Control in ADO.NET
My name is Sivaramaiah. I am working on .net, we have a project on Banking. So I have a web form which is used to add or subtract the amount from a bank account using datasets. I used a dataset and used acceptChanges() method of dataset before updating the database, so from that I can get fresh data into my dataset. So my problem is if there are 3 customers using my form. One want to add 2000 and another want to subtract 3000 and another ...Show All
Visual Studio Tools for Office Export Mapping XML without load DLL
I need to export data from a mapping of an Excel Workbook (without load the smart document solution (made with VSTO2). These datas are not in cache. If i open the workbook and call the export of the XmlMaps the smart document load... (MyWorkbook.XmlMaps("mymap").Export "c:\test.xml") Any suggestion My understanding is that you automate Excel to open a workbook containing VSTO customization and you want to p ...Show All
Visual C# Multi Threading
I' m creating a perl ide, in vs 2003 i have a thread running which takes in data from perl compiler in and outputs it to a text box, i converted the project to 2005 but i get the problem "Cross-thread operation not valid: Control 'txtOutput' accessed from a thread other than the thread it was created on." I understand that i'm accessing the text box on a different thread but i don't know how to go about fixing it the code for the compi ...Show All
Smart Device Development Unable to play system sound on Smartphone
Greetings, I can't play system sounds on my Smartphone. I tried both the PlaySound and the sndPlaySound API in native code like: sndPlaySound (TEXT( "RingTone0" ), SND_SYNC | SND_ALIAS); I also used several Registry entries keys I found on my Smartphone (e.g.: "SystemAsterisk", "Keypress", "MenuPopup", "CellBroadcast", etc.) instead of "RingTone0" but I always ...Show All
Visual Basic cybercafe
I am now creating my cybercafe software for my final years project May i know that how can i shutdown, restart, or log off the user/customer pc after payment by using admin pc . I'd do it a different way. I'd turn Microsoft login/logoff off and add my own login/logoff only it doesn't authenticate against a username. It authenticates against a receipt number which includes a data and and time and has time interval embedded in. Whe ...Show All
Visual Basic Help Trying to Create Project Get Errror 0x8007007B
Hi, I just installed Visual Basic 2005 Express Edition. When I try to create a new Project (File --- New Project --- Windows Application) I get the following error: The filename, directory name, or volume label syntx is incorrect. (Exception from HRESULT: 0x8007007B) I tried changing the default directories for projects, that didn't work. I rebooted. I tried starting a different type of project, all with the s ...Show All
SQL Server Can Create default instance with April CTP
First, it was a nightmare to get it installed. Multiple installs,uninstalls, deleted (really renamed) directories, and cleaned registries. It gets an error that the connection was refused. It works fine for a named instance. Since all of the MSSQLServer registry entries are new, I don't think it is there. And all are done with the service Local Account. So I think the problem must be in the TCP/IP configuration referring to an old installation. ...Show All
Visual Studio Express Editions How to Read & Write Data to Port??
I need read and write data to specify port address (such as 'LPT1' , 0378-037F). Do you have some code or some control hi, http://msdn2.microsoft.com/en-us/library/30swa673(en-US,VS.80).aspx hope it will be helpfull ...Show All
Visual Studio Team System Session Value in URL
In a webtest I've recorded, a session value is present in the URL for some of the requests. When I replay the webtest, the test is marked as passed even though it does not complete the desired business scenario. I understand that when I replay the script this session value is no longer valid and in fact I can see a new value being returned in a response header (in the Location field). The session value in the very next request is replaced ...Show All
Visual C++ Communication between objects
I am using a main form created with CLR, Windows forms (Form1) with 2 child forms ( A, and B). I want to have B send A some information to act on (I need to pass it an integer). How should I do this (I posted a similar question and it was bumped to another forum, but no answers in over a week) Yep the windows forms forums might be a better place as descibed ...Show All
Visual Basic RTC Client API
Hi experts, Please help me in following code. i am not able to register my profile in SIP server. ============================ Private g_objRTCClient As RTCClient Private Sub Form_Load() Set g_objRTCClient = New RTCClient Call g_objRTCClient.Initialize ' ' Start the process by getting a profile. ' Dim pProv2 As IRTCClientProvisioning2 ' Receive the provisioning interface from the ' main client object. Set pProv2 = g_objR ...Show All
Windows Forms how to shutdown or exit windows using vb.net
hi all ... can anyone tell me how to shut down a computer using vb.net .. if possible can anyone provide me with the code thanks In short: 1. Create a new VB Class Project ("WinShutDown") 2. Paste the code from inside m ...Show All
Visual Studio Express Editions I don't see any projects to choose from - VWDBeta2
I go to create a new project in Visual Web Developer Express Beta 2, but don't see any to choose from. Did the install go bad or is there a fix for this no that is not correct, here is what happened. You must of used a registry cleaner. for further details look at this post http://forums.microsoft.com/msdn/ShowPost.aspx PostID=65384 It will show a description and a solution ...Show All
Visual Basic OleDbDataAdapter does not update
Hi, I am having a a problem geting a data adapter to update a recordset. This is the steps. I added a connection and an data adapter to a form. The data source is a Access table. The table has 8 columns. I selected 2 of them and added a criteria to limit the number of rows selected. I then generate a dataset. In my code I call the .Fill method to populate the dataset. I iterate through ...Show All
