kevinzx's Q&A profile
Smart Device Development Error in Accessing IIS Server.
Hi all, Iam using a PDA which transfers the data from the PDA to the local system using ActiveSync. Iam able to browse the Internet using this PDA. Iam not able to access the Local IIS Server of the Desktop to which this device is connected. for Example: I have a Windows XP System and a PDA(BIP 3010). I have connected this PDA to this XP PC using an Cradle and active sync 4.0. i want this pda to browse the Local host which have some web services. can anyone tell me how should i browse those pages in the local PC Thanks in advance Biju S Melayil Hi Rauhan i have specified the IP Address rather than the localhost. I am trying to access it as Http://192.168.1.7/app/appname.aspx but its not working C ...Show All
Visual C# Get selected text form MS Office Word
hi everyone, i want get selected text from ms office word. i use Ms AA 2 component but i dont get any thing . please give me solution. Hi, I guess you want to paste something from word to somewhere else in program. If I've misunderstood you, pls let me know. If so, reference to clipBoard in .NET Framework: http://msdn2.microsoft.com/en-us/library/c2thcsx4(VS.80).aspx Thanks ...Show All
Visual Studio Team System Merge fails because of pending changes but no changes are pending.
I am attempting to do a merge and I get the following error --------------------------- Microsoft Visual Studio --------------------------- Source Control Merge Wizard Merge encountered 0 error(s) and 10 warning(s). First error/warning encountered: TF14083: The item '$/XXXXXX' has a pending merge from the current merge operation, please resolve and check in the current merge and merge again to pick up this change. See output tool window for information on any other errors. --------------------------- OK Help --------------------------- This is after did a merge of All available Changesets and realized that I wanted to merge selected changesets so I did an &q ...Show All
Software Development for Windows Vista invalid windows registration
I just started getting a n error message saying my copy of windows is not genuine,and it is . I've had numerous crashes and after the last one had a second hard drive installed.My files have been transfered to the second hard drive ,but I have yet to get Norten Ghost to make a mirrior image of my primary hard drive. Everything has been going well for weeks,then for no reason I started to get this "not genuine copy "message. I downloaded Windows the last time from the Windows XP home edition that came with the computer. I just clicked "resolve this issue later" to get rid of the error message. How do I get rid of it permentantly ...Show All
Visual Basic How can I Reboot Computer Using Visual Basic 2005
How can i reboot, shutdow, log-off my computer using Visual Basic 2005 Can you help me please:( I tried the code listed here to do a restart of Windows. I get the warning screen that Windows is shutting down (I used a 10 sec delay), but at the end of 10 seconds, no reboot. I am running Windows XP professional and have admin priv's. Any ideas Thnx ...Show All
Windows Forms Form to form data passage.
I have two forms. The first form, Form1 has a read only text box on it. The second form, Form2, has a editable text box on it. The user will click a button on Form1 that launches Form2. In Form2, the user will enter some data into the text box. They will then hit the "Apply" button that is on Form2. What I want to do is send the text of the editable text box on Form2 to the read only text box on Form1. I was wondering if there was a way to access the control itself from another form. Meaning: IN FORM2: Form1. textBox1 .Paste(this. textBox1 .Text); Where the text box in blue is the read only text box in Form1, and the green text box is the editable text box in Form2. The second method I was thinking of using was a way for Form1 t ...Show All
Visual Studio Express Editions Chart Control
I have upgraded a VB 6 application that has a chart. The upgrade was successful but when I run the application I get the following error: System.InvalidOperationException was unhandled Message="An error occurred creating the form. See Exception.InnerException for details. The error is: Unable to get the window handle for the 'AxMSChart' control. Windowless ActiveX controls are not supported." Source="WindowsApplication1" StackTrace: at WindowsApplication1.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 180 at WindowsApplication1.My.MyProject.MyForms.get_Form1() &nb ...Show All
SQL Server Sql 2005 Deployment Problem
Hi , I am using SQL 2005 (Developer edition) on XP (SP2)... When I design my report I can see it on the "Preview" tab that it is working but when it comes to deployment I receive this error: Error 1 The report server cannot decrypt the symmetric key used to access sensitive or encrypted data in a report server database. You must either restore a backup key or delete all encrypted content. Check the documentation for more information. (rsReportServerDisabled) Am I doing something wrong How can I deploy it Thanks in advance Iggy, My bad, I should have be clearer in which log files. The log files you want to examine are in this directory: \\Program Files\Microsoft SQL Server\MSSQL.1\Rep ...Show All
SQL Server ADODB and Mirrored SQL-Server
I did setup a Mirrored Database. Connecting from it using ADO.NET works well. It goes to the Mirror if the Principal fails. But ADODB does not work. I get the error following error: 80004005 Invalid connection string attribute When trying to connect to the DB in case the principal failed and the mirror is active. (MyProductiveDB is in failover state) What do I do wrong Here is the code: ADOConn = New ADODB.Connection ADOConn.Open(CS) CS is my Connections-String: "Provider=SQLNCLI.1;Data Source=MyProductiveDB;Failover Partner=MyMirror;Initial Catalog=MyCat;Persist Security Info=True;User ID=MyUser;Password=xxxxxx;Pooling=True;Connect Timeou ...Show All
Visual Basic Capture Keys in Textbox, VB.net 2005:
I'm working on learning VB.Net, using 2005, In VB 6, when you use a textbox: Private Sub txtPv_KeyPress(Index As Integer, KeyAscii As Integer) 'If the ENTER is pressed, then call the function to set the PV. If KeyAscii = 13 Then Call cmdSetPv_Click(Index) End If End Sub However, with VB.Net, when I select the "KeyPress" I get: Private Sub TextBox1_KeyPress( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress End Sub I can't figure out how to capture the keys that were pressed using the arguments to the TextBox1_KeyPress Sub. All of the help that I can find tells me that the "KeyPress" is as: Private Sub Text1_KeyPress(KeyAscii As ...Show All
Windows Forms datagridview newrow()
HI, in which event datagridview's newrow is fired venp-- HI, I've a requirement like there should be only one row in a grid. i can display one row with data or i can type and create a row. after 1st row newrow shold not be created. i need to trap this. at which time new row is created. like as we start typing in a row while pressing enter key new row is created. As soon as the new roww is created i need to trap this and stop creating newrows. thanks venp-- ...Show All
Software Development for Windows Vista Unable to install VS Extensions for .NET 3.0 , November 2006 CTP
I have uninstall VS Standard Edition and then have installed VS Team Suite for Software Developers. When try install VS Extensions for .NET 3.0 , November 2006 CTP, the installation failed because valid VS version required. How to resolve this issue The prerequisites for the extensions is Visual Studio 2005 and .Net Framework 3.0 RTM. Try generating a setup log like this to help diagnose the problem: msiexec.exe /lxv* log.txt /i vsextwfx.msi ...Show All
Smart Device Development DeregisterService problem
Hello, I have aproblem with DeregisterService call on Win CE5.0, I used services.exe to have a webserver on my device which is needed to remotelly configure the device through a web browser. The device itself can enable/disable the webserver and this works fine. but if someone tried to do this through the web browser, both the web browser and the device hangs. For the web browser it is acceptable because the webserver is not available any more, but for the device, it is the problem, By debugging I discovered that the call to DeregisterService does not return, it seems that the DeregisterService has a problem when the service is being used during the call. Do anyone know how to solve this Thanks, Ahmed Thanksss, ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Objects on Tilemap jump a little bit while scrolling
Hello again.. I am working on my little 2d game.. i have non movable objects on my tilemap... if i scroll the maps, the screen position of the objects are recalulated.. this works... but sometimes the objects are jumping for a "Mini" second and then they are back to the correct position... any ideas how i can improve this here comes a part of the code... this is the method which draws all list objects foreach ( Fahrzeug Obj in Objektliste) { Obj.ObjekteDraw(spritebatch, Obj, MapSpieler1); } --> here is the method public void ObjekteDraw( SpriteBatch _spritebatch, Fahrzeug _obj, Map _Map) { // fur objekte, die im sichtba ...Show All
Visual C# Blocking Console closure?
I have a Windows Forms app with Console playing a part. I now run an almost debugged code from an exec that is generated after the Build command. I need to prevent Console from accidentally being closed by clicking on the tiny button located at the right upper corner. I cannot figure out if it is possible to do. The corresponding button on the form is blocked but it does not prevent the form from being closed by clicking on the button on the Console. I want to immobilize it too. I do not the app being closed accidentally in any event. Thanks. Figo Fei - MSFT wrote: What i meant is if you want to hide the close button of the form you'd set the form's controlbox. And about console, I think you'd get the handler of it ...Show All
