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

Software Development Network >> Chitai Liu's Q&A profile

Chitai Liu

Member List

johnny_no1_boy
David Sutherland
Mystagogue
Alba
Elfar Alfreðsson - MCAD
André Rentes
Cindy Meister
jk67
Butterflyangel02
gokhanmutlu
JTeoh
Shady9399
bk13
Timski72
haihtomy
Horst Klein
pmak
Blipwort
Christina Tabet
NB76
Only Title

Chitai Liu's Q&A profile

  • Smart Device Development How to use RegisterRunningDevice

    Hi all !!!!!!!!!!!! I'm on an important project of network device developping. I made a UPNP AV Control Point that works very well. Now I'm building a MediaServer device and I'm facing a problem about register the device. I did my own implementation. Since it doesn't work, I tried the example provided by the microsotf SDK and I get the same error after calling IUPnPRegistrar::RegisterRunningDevice. the return result of the function is 8004a025. I searched the meaning of this value and I didn't obtain anything. If somebody can know the meaning of this or the causes of non-running of this function, I'm waiting your contibutions because without running the function I canont progress. Thank you very much. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA with C# Professional version

    I can find any of this in the FAQ so I'll ask: Is there a way to get/install and use the XNA framework with the professional version of C# My Visual Studio Professional already as C# installed. I'd like to be able to play with XNA without playing to many installation games Thanks, Gary Not yet. I tried already a week ago (when trying to get XNA working on my x64 platform) to get it to work in VS 2005 Pro, but it is not that easy. Yes, it is quite annoying, especially since my beloved Code Rush doesn't work in Express But maybe it is possible to copy some files over and get it to work, will try again in a few days when I get annoyed Code Rush is still missing. In the future Ms will make bigger versio ...Show All

  • Visual C# How to get a page source code of URL programmatically?

    From a C# routine I need to go to a URL page and download the HTML source code of that page bypassing the browser. I then intent to analyze the code and extract another URL -- but I already know how to handle it. I prever to have this page in memory, as a string variable, not as a disk file--it is intended for a very temporary usage. The challenge for me is to figure out how to have the program download the HTML code without alerting the Internet Explorer Browser. I am sure it is a simple problem for a longtimer. Hope for help. Thanks You can fetch the html page using HttpWebRequest class: HttpWebRequest request = ( HttpWebRequest ) HttpWebRequest .Create(url); using ( Stream stream = request.GetResponse().GetRespo ...Show All

  • Visual Studio Express Editions running a new program within mdi

    hi everyone, so as i said a few days ago when i first made a post, im new to VB so im working on a project and also making little apps to just try to figure things out and for practice. i had an idea for a little test app and im having some trouble. here is the idea, if any of you use the graphic program called GIMP you know how its just a bunch of little windows all over the place rather than in one main window. what I want to do is make one main window, Form1, a Mdi and when this window loads have it call up GIMP so that all the windows load within Form1. as i said, im new to VB so I dont know how to get a second program to run within your main app. here is the code i`ve done so far within form1_load but im having trouble, any advice ...Show All

  • SQL Server Changinge fonts for properties dialog in SSMS

    I would like to change the font used in SQL Server Management Studio's database properties dialog to something that is not sans-serif so that I can easily tell when a db file is on drive I (I) vs drive l (L) . I've changed every single entry under Tools > Options > Environment >Fonts and Colors to use Courier New as well as every single entry under the system's Display Properties > Appearance > Advanced, and the font in the SSMS server tree and in the object properties dialogs are still sans-serif fonts. Does anyone know of a way to change this Thanks! ...Show All

  • SQL Server During processing - error in Event Viewer only?

    A cube I'm trying to process is consistently failing ("the process completed with failure."). Since no specific error was given, I checked the event viewer and noted this for MSSQLServerOLAPServices: "OLE DB error: OLE DB or ODBC error: Invalid object name "SiteAccountProfile"; 42S02. SiteAccountProfile is a table I query from in my DSView (and it's also a dimension table), but I can't imagine what the error is referring to / complaining about. Anyone know what this might mean Okay, more tinkering yielded this nugget: "SiteAccountProfile" is used as a reference dimension (IE another dimension uses it as the reference dimension) on several measures. On a particular measure (this happened to be th ...Show All

  • Windows Search Technologies Windows Desktop Serach Filter

    How do I stop these blasted error messages that continue to pop every few seconds in the Windows Desktop Search Filter I have tried to debug it each time or send in the error report and each time it comes back. My computer is new and I am running Windows XP Pro, Business Contact Manager and MS Small Business Accounting. JEM374 JEM374 - Business Contact Manager stores contacts in an SQL database. WDS is not able to index this database. In order to prevent the errors going forward you should remove the folder that holds the contacts stored in Business Contact Manager from the indexed locations in WDS. Paul Nystrom - MSFT ...Show All

  • Visual Basic TextBox to RichTextBox???

    I want to take info from two input TextBox's and insert it into a richtextbox Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If TextBox1.Text = "" Then MsgBox("Please add text before adding a item") TextBox2.Text = "" Else RichTextBox1(TextBox1.Text) TextBox1.Text = "" RichTextBox1(TextBox2.Text) TextBox2.Text = "" End If End Sub I just need help with what to put after the RichTextBox1. . (TextBox1.Text) How about Richtextbox1.text = textbox1.text Or if you want to add both Richtextbox1.text = textbox1.text & textbox2.text ...Show All

  • Visual Basic Adding Item to CheckedListBox

    I am trying to add an item to a checked list box after the datasource has been set. I get an error on compile saying this can not be done. How do I go about adding the following at index 0 to my checked list box: (Select All) Thanks for you help. I was able to get by doing the following: dsNames.Tables( "tblNames" ).Rows.InsertAt(selectAllRow, 0) ...Show All

  • Visual Studio Setting my own Environment variables

    Hi, I created an environment variable like this: set TARGETPATH=D:\SOMEPATH in DOS shell i referenced it in the proj file as $(TARGETPATH). In the XML it is happy. If i open the IDE it doesn't recognise. If is use a system environment variable the IDE is happy. Where do i need to setup custom environment variables so that they can be seen by the IDE the way system ones are. Thanks Steve, yes that was the problem, the environment variable was local to the process. I've now done as you suggested. My company is developing a product which will have a different UI depending on which end customer we are selling to. The source is identical but the skin files are different plus we want the e ...Show All

  • Visual Studio Express Editions Read Serialnumber of Harddrive

    Hi, i want to read the serialnumer of hardrive. In 6.0 the it was working with this code Declare Function GetVolumeInformation Lib "kernel32" Alias "GetVolumeInformationA" _ (ByVal lpRootPathName As String, ByVal lpVolumeNameBuffer As String, _ ByVal nVolumeNameSize As Long, lpVolumeSerialNumber As Long, _ lpMaximumComponentLength As Long, lpFileSystemFlags As Long, _ ByVal lpFileSystemNameBuffer As String, ByVal nFileSystemNameSize As Long) As Long : Dim strRootPath As String Dim strVolName As String Dim lngVolSerialNumber As Long Dim lngMaxComp As Long Dim lngFSFlags As Long Dim strFSName As String Dim lngDummy as long strRootPath = "C:\" strVolName = S ...Show All

  • Windows Forms Why Can't I set the Text property of a Label

    I have placed a label control on my form and I when I eter code in the VS 2005 IDE to chnage the text property it tells the control isn't defined! Yes I have double checked the spelling, it doesn't even show up in the autocomplete menu. Help! This is really annoying! Simmy I added the code in a regular form. I have tried it with "me", no luck. The only way it works is me.controls("lblCustomer").text ="a". ...Show All

  • Visual Studio Express Editions install a program from C# express with only .Net 1.1

    Is this possible I wrote a program for my associates at work, unfortunately I made the huge mistake of not checking whether or not they had .NET 2.0 installed, unfortunately, they do not, instead they have .NET 1.1. I cant ask them to install 2.0 so im in a pickle, is there any way to set up my program to only use .NET 1.1, i dont mind modifying my code or anything, if there is, please please let me know. Thank you! Express generates assemblies that only work with the .NET 2.0 framework. You could recompile your app using the .NET 1.1 command line compilers but that's quite awkward. Ask you friends to download and install the .NET 2.0 framework , it is a one-time installation they'll eventually need to ma ...Show All

  • SQL Server Auto Number Sequence

    How can I create a number sequence starting at a certain number and continue on for the number of records I have. For example I have 3000 records in my table and a field named I created called RecordId which I'd like to start at number 1 and goto 3000 (or maybe even start at 9000 and goto 12000 or however many records there are). In my pseudo SQL code Im guessing it would be something like... select * from Incident update Incident set RecordId( i=9000; i<=Number of Records in Table; i++) Whats the easiest way to do this A potentially more expressive function you could use in place of identity is the row_number. select row_number over( partiton by ... order by ...) + startin_numbe ...Show All

  • Visual Studio Express Editions Can someone kindly help me?

    when you go through the tutorial on "Creating Your first Application"(a web browser), They tell you to double click on the button, and insert this code... WebBrowser1.Navigate(Textbox1.Text) After you insert the code, a squigally line pops up under the "WebBrowser1" , and it tells me "Decleration Expected." Can someone tell me how to resolve this error Sounds like you may not have yet added a webbrowser control from the toolbox on to form1. (Your form should have at least 1 button, 1 textbox, and 1 webbrowser control from the toolbox) ...Show All

©2008 Software Development Network