Software Development Network Logo
  • Smart Devicet
  • Visual C#
  • IE Development
  • Visual Basic
  • Microsoft ISV
  • SQL Server
  • Visual Studio
  • .NET Development
  • Game Technologies
  • Audio and Video
  • VS Team System
  • Visual C++
  • Windows Vista
  • Visual FoxPro
  • Windows Forms

Software Development Network >> 13thGhost's Q&A profile

13thGhost

Member List

T2TD
meehanmartin
Andres Citeli
c_shah
SidharthMalhotra
Henrik Nilsson
jhered
humbroll
DadUnit
Shabari
programmingisfun
tnsgod831
Shirvo
Sami Karaeen
Sourabh Khatri
AnaC
webflier
Kevin8264
_CN_
malkie
Only Title

13thGhost's Q&A profile

  • Visual Basic How to use serializer.Deserialize with a string?

    I currently use this logic to get xml from a website, and it returns a string. Case System.Net.HttpStatusCode.OK Dim responseStream As System.IO.Stream = webResponse.GetResponseStream() Dim responseEncoding As System.Text.Encoding = System.Text.Encoding.UTF8 Dim responseReader As New StreamReader(responseStream, responseEncoding) Dim responseContent As String = responseReader.ReadToEnd Return responseContent So it returns a string. Then I need to deserialize it using: Dim serializer As New XmlSerializer( GetType (export_documents_response)) Dim ResponseDocument As export_documents_response ResponseDocument = CType (serializer.Deserialize("c:\file.xml"), export_documents_response) So I ...Show All

  • SQL Server I can't connect to my local database.mdf file

    I have just upgraded to Microsoft SQL Server 2005 Express Edition with Advanced Services SP2. Now I can't connect to my local database.mdf file. When trying to open or doubleclick or expand my .mdf file the following message pops up: Generating user instances in SQL Server is disabled. Use sp_configure 'user instance enabled' to generate user instances. What is the solution for this problem Hi Andrea. I have entered your code in the query editor and saved it as SQLQuery5.sql. SQL server is restarted. I right clicked in the query editor and hit Execute and get the folloving error: Msg 233, Level 20, State 0, Line 0 A transport-level error has occurred when sending the request to the server. (provider: Shared ...Show All

  • Visual Basic How to start services of another computer in LAN

    In LAN, i'm client and want to start(or stop) services fo another client ( known user an pass), What 's I do dinhson91985 wrote: In LAN, i'm client and want to start(or stop) services fo another client ( known user an pass), What 's I do (using VB.NET to do this) ...Show All

  • Visual Studio Express Editions Different Coloured Brushes

    How do I change the brush colour so that each square is different I was thinking of using an array, Dim arrCol() As String = {"Red", "Yellow", "Green"} but string can't be converted to system.brush. I tried Dim arrCol as System.Brushes, but that doesn't work either. So any ideas please. Here's the code, Dim B1 As New Bitmap(146, 92) Dim G1 As Graphics = Graphics.FromImage(B1) Dim PB As New PictureBox Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim X, Y, W, i As Integer X = 0 Y = 0 W = 128 For i = 1 To 40 G1.FillRectangle(Brushes.Blue, X, Y, 16, 16) X += 18 If X > W Then X = 0 ...Show All

  • Visual Studio Team System Add application-tier to an existing Database-tier

    Hi I have an existing TFS using two servers. one with SQL used and database tier and another one for application tier. My question is: How can I install the application tier on the server with the existing database tier (I want to later configure it as a warm standby). Installation won't go because it recognises the installed database tier. I do not want to uninstall the database and reinstall them both (db and app). thanks This section describes the configuration once the server is installed. The problem is how to install the application tier on a server where the database tier is already installed. ...Show All

  • Windows Live Developer Forums ECMAScript(Javascript) for XML(E4X) in IE7 BETA 3

    Is there any support for E4X in IE7 BETA 3 for example JScript like this-- function unconRec(){ var sales= '<sales vendor="John"><item id="carrot" price="3" quantity="10"/><item id="chips" price="5" quantity="3"/></sales>' try { alert(sales.item); for ( var i in sales.item) if (sales.item .id == 'carrot' ) { alert(sales.item .quantity); break ; } alert(sales.vendor); } catch (ex) { alert( ' exp -- ' +ex.toString()); } - Sai Tej hi James, Thank you for the reply. I would check the news groups of ie7. Sai Tej ...Show All

  • Windows Forms question of ListView,need help

    Hi, My ListView control contain a "quantity" column and i need to do the calculation on the total of the "quantity", does ListView control allow me to do it Does anyone know how to write the codes to read the rows which contains the data on ListView control Hi boban.s, Thank you for your help, i added the codes that given by you and it work excellent. Again, thank you for your help. ...Show All

  • Visual Basic How to create a "Hardware Profile"

    I need to create a "Hardware Profile" of the machince running my app.  Specifically i need it to gather info about hardware pieces that aren't commonly upgraded such as the hard drive then combine that into a string and hash it for privacy since i only need it for comparision reasons.  Any help on how to get manufacturers, models numbers, and serial numbers from hardware is appriciated. Thank you.   EDIT: I made a small change to the search term i was using on MSN and may have found what i need WMI, but from what i could read i dodn't undsertand how to get the details I need, anyone know of any code showing implimentation of WMI for simular use as I want EDIT2: ok i did some more digging while waiting for a respo ...Show All

  • Windows Forms too slow

    hi there <br> i'm new in vc++ .net enviroment. till now i have worked with c under ms-dos <br> 2 question from a beginner. sorry my english <br> i'm using vs. net 2003<br> 1. when i change from code view to design view i must wait till 1 minute because my VS is not responding <br> 2. it's possible to do somenthing like this: when i right-click to a word-key like MessageBox and i choose "Go to Definition" i wish to see a window with description , def, samples . <br> i'm running on a notebook with 1,7GHz Centrino processor. ...Show All

  • SQL Server "distinct" in select query

    when i use select : select flattened (select productid, $support from [model name].[table] )...... i have result with many record same. so i write : select flattened (select distinct productid, $support from [model name].[table] )...... but when i run, it's error. ( don't know what error). how can i do to get table record with not same record (loop) note : it write in DTS and i use sql 2000 i can't use query like you show. i want you "distinct " in DTS syntax like that: select flattened (select productid, productname, categoryid ,[$probability] from predict([model name].[table name], incluse_statistics) where productid > 1000) from [model name] predic ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. i need help

    Can anyone help me How do I call a method from a different class The above posters are correct in both their answer and their suggestions that maybe you should take a step back and fine tune your C# development skills before pushing ahead with your game. The question you asked was a valid one, but a very simple one. While XNA has made game development easier, it hasn't removed the need for you to understand development. I worry that you are just going to unnecessarily frustrate yourself trying to learn game development while learning basic development concepts in general. With that said, I don't think it will take you long to get up to speed. You don't need to be a C# expert to make a game with XNA ...Show All

  • Visual Studio Team System Baseless merge No Content changes not auto merging...

    We are trying to do a baseless merge and the conflict resolution comes up and when we select a file that has not conflicts it is not giving us any auto merge option. If we try to do the auto merge all, it fails because it says we cannot merge them because the two files have changes but we verified that they don't. Now if this was one file it would be no big deal but we are talking about thousands of files and there is no way we are going to resolve each file manually....if this is how baseless merging works, how useful is it  Also, when I execute "tf resolve /auto:acceptmerge" I get the following error TF10010: Source control unexpectedly encountered the end of the stream: The char acter was incomplete at stream offset 3841. ...Show All

  • Visual Studio Express Editions One or more errors encountered while loading the designer!!

    One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. The type 'ClientApplication02._ClientDB_Baisic_IIDataSet' has no field named 'DataSetName'. Hide Edit at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink) at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement) at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializ ...Show All

  • Visual Basic Serial port on VB.NET

    Hi, Currently, I am using a VB.NET to generate an interface for the user to update parameter of a PCB board MCU. However, I found that some data might be having a problem while transmitting. Previously, I am using a chrW() to change the transmit data before put into the MyRS232.Write(), however, some data have corrupted or changed while I transmit. The signal show the checksum is wrong while sending the set of data. After I use an oscilloscope to check the signal transmitted. I found out that, when I sent the data is between &H80 to &H9F (&b 100* ****), the signal will change to &H3E (&b 0011 1111). Anyone have any idea why this happened Now the temporary sol ...Show All

  • Visual C++ String to integer

    I am using Visual Studio 2005, C++ and Net 2.0. I want to examine a String and extract an integeral value. Assume the following variables : String^ theInput = "Lat=75"; int lat; I want to examine theInput and store the value 75 in lat. Is there a simple, straightforward way to accomplish this A code sample would be appreciated. Gordon. Gordon Duff wrote: For the future can you tell me where C++ Visual Studio general programming questions should be posted This is the place for language questions such as the one you posted. For SDK, GUI, MFC and other technologies, along with older versions of Visual Studio, the newsgroups at http://msdn.microsoft.com/ ...Show All

©2008 Software Development Network