hunb's Q&A profile
.NET Development About the LinkedList
Hello everyone.I am a chinese boy,so I can't speak English very well.I'm sorry about this.I like the .net platform but I used the J2SE before.I like the LinkedList class in JDK very much.I have also used the .net framework 1.1,I couldn't find the LinkedList in it.So I don't know if the new .net framework 2.0 has the LinkedList my e-mail is guohouzuo@163.com Thanks every one. Try this Imports System.Collection dim xList as new List or Imports System.Collection.Generic dim xList as new List(of T) ' T is Type of something, eg, you can put it as String, Integer, or any class of structure. ...Show All
.NET Development Xml Help - newbie
Hi All, I need some help loading name value pairs from an xml file .. All the samples I have seen are from older versions of the .net framework and seem to have too much code .. I know there has to be an easier way in 2.0 This is my xml file .. < xml version="1.0" encoding="utf-8" > <config> <add key="5656" value="duck" /> </config> I need to send the key 5656 in and get back "duck" thanks allot... I have been struggling with this for the last few hours with no luck.. XmlDocument xDoc = new XmlDocument (); xDoc.Load( @"C:\Documents and Settings\paul\Desktop\sample.xml" ); XmlNodeList name = xDoc.GetElementsByTagName( &q ...Show All
Visual Basic list of deprecated methods and theur vb2005 equivalent
Does anyone know a website or webpage wherein they supply a list of visual basic 6 methods, functions, and such, and provide the visual basic 2005 equivalents I grew tired of trying to upgrade the functions I need using the VB6 upgrader tool. I can't even find out the MenuCreate() equivalent in VB2005. Thanks a heap. To start off, I can't even find which component to add from the Speech SDK 5.1. (The sites I've been through don't tell me what to reference next after I downloaded it). Ergo, I had no choice but to download the Speech SDK 4.0, which was not advisable by Microsoft itself, but I had no choice (4.0 contains the 3 ActiveX controls I need, and all of these ActiveX controls start with "Microso ...Show All
Internet Explorer Development IE7 Tabs
I am looking for a way using the SendMessage API or something along those lines to activate a different Tab from an external application, so I can detect if a URL is already open and restore that instance of IE and automatically switch to the proper tab. I would like to see a way to save a TAB GROUP and then go to Favorites->TAB GROUPS->my group and reopen all the tabs that I had saved in that group (I watch several codeplex projects of mine as well as several msdn forums, when my son reboots because his game crashes I have to manually open all those sites again:( ...Show All
SQL Server Issues With SQL 2005 Encryption
Are there any pitfalls i should look out for when using the encryption in SQL 2005 Yes, but the feilds are blank. Doesn't show any keys. As if no keys were created. Thank you Jeff Welch ...Show All
SharePoint Products and Technologies Server Admin Templates - Workflows Included?
Do any of the new fabulous 40 application templates include custom workflows Jeff Lynch MVP Windows Server System - Commerce Server http://codebetter.com/blogs/jeff.lynch ...Show All
SQL Server How do you backup a database using sql server 2005 express???
I know there isn't a backup feature but I was wondering if there was a way to back up a database Thanks!!! Been searching the net for about an hour now, theres billions of tutorials, but they go into too much detail, I just want to do a single backup of one database, once a day. Its so simple with 2000. But it seems SQL 2005 is a cut-down version of 2000. I don't really want to write a script and then rely on Sheduler, I want to right click and be walked through a nice wizard like with 2000. ...Show All
Internet Explorer Development Javascript Console
Hi just wondering if IE7 has a feature like 'Javascript console' for firefox. I have an annoying error in my webpages and the error is "error: syntax error". So I can't really debug. So if you know of an add-on or its already in IE& then let me know asap. p.s. the error does now show up in firefox. While IE doesn't have a Javascript console like the one you mentioned, there are some alternatives you can download and install. You should be able to locate the error manually, though. When you load a page containing a script error, there's usually an icon that appears in the lower left corner of the browser window. (The icon shows an American yield signing containing an exclamation point; the sign overlays a blank page.) ...Show All
Windows Search Technologies Problem crawling with a hierarchical custom protocol handler
I have developed a hierarchical custom protocol handler that I'm integrating with Windows Search on Vista. The handler has a IUrlAccessor and IFilter implementation that enumerates the contents of a directory by returning the search URL of each "file" in the directory as a text chunk with the STAT_CHUNK structure specifying the GathererPropset and PID_GTHR_DIRLINK propid. My understanding is that the indexer should take these URLs and queue them for indexing, in which case I should see subsequent calls to CreateAccessor with those URLs. However, instead I'm seeing the indexer call CreateAccessor once to get the directory accessor, then it reads the dirlink text chunks, but it never make the expected additional calls to Create ...Show All
SQL Server How do I send RS parameter to XML query?
I Have this web service method: [ WebMethod ] public DataSet EeoReport( DateTime start, DateTime end) {} I have this XML query that sends blanks to start and end and properly gets my data. <Query> <ElementPath IgnoreNamespaces="True"> EeoReportResponse {}/ EeoReportResult/diffgram{}/ DataSetName {}/TableName {Field1, Field2, Field3, Field4, Field5, Field6, Field7, Field8} </ElementPath> <SoapAction>http://services.mydomain.com/EeoReport</SoapAction> <Method Namespace=" http://services.mydomain.com " Name="EeoReport"> </Method> </Query> How do i add RS parameters to this query to represent start and end in the above webmethod... By using t ...Show All
Visual Basic Databases and Textboxes
Part A How do I link textboxes to individual database records when the database has say fifty rows and fifty columns. The idea being to display and maintain a database with textboxes on a form that stand independent of each other that point to a specific spot in the database. Part B Once this is possible then .. To be able to manage this data based on years meaning... I would like to have this basic setup but I am able to have the database represent a set of data for a particular year and I would be able to choose to display data based on the year. Please, if anyone knows .. respond asap.. Thanks Shihan Hi, when i come across this page ,i am also in need of similar sort of th ...Show All
SQL Server Displaying a field in SQL Server MSE
I have a long text field in a table. Is there a query that I can execute in Mgt. Studio Express that will display the whole of this field. It is too long to easily see in the table view and SELECT <fieldname> from <tablename> only displays part of the field before displaying ellipses (...). Many thanks, That's the right way to do it. Perhaps if you were to elaborate a little on "isn't working" This works for me: create table xmlstuff ( txt nvarchar ( MAX )) insert into xmlstuff values ( 'some XML' ) select CAST ( txt AS xml ) from xmlstuff ...Show All
Visual Studio Increasing the wait timeout for the VSS2005 Internet Web Service and IDE plug in
Is there any way to adjust the time out parameters on the server and/or client side when using the Internet provider What's happening is that occassionally the connection between the developer and the server is a very slow one, and the plug in gives up (often at the worst of times), resulting in bindings getting confused. My client has also discovered that the server (Windows 2003) needs to be rebooted about once a week in order to keep the web service speed up. VSS2005 starts running slowly, they reboot the server, it speeds right up. VSS2005 is the only application hosted on the server at the moment. Thanks You can increase the default timeout by changing the following registry key: HKCU\Software\Microsoft\SourceSafe\Timeout ...Show All
Windows Forms c to vb syntax
what is the meaning of: | and || the y appear in if statement.. one is or, i dont remember what is wat. thanks For Each fi As PropertyInfo In e.GetType().GetProperties() If fi.CanWrite Then If fi.PropertyType.IsValueType Or fi.PropertyType.IsEnum Or fi.PropertyType.Equals( GetType ( String )) Then fi.SetValue(target, fi.GetValue(source, Nothing ), Nothing ) Else Dim value As Object value = fi.GetValue(source, Nothing ) If value Is Nothing Then fi.SetValue(target, Nothing , Nothing ) Else fi.SetValue(target, CloneObject(value), Nothing ) End If End If End If Next ...Show All
Smart Device Development File Path Problem in Smart Device Deployment
I have a SmartDevice project application within E:\Wireless folder in development environment. I have an XML file App.Config under this folder. While I try to deploy the application in debug mode in a Simulator, it says the current path to the file is \Program Files\Wireless\App.Config , but could not find the file. How to deploy the application so that my application can find the file. Do I need to copy the same file to debug folder Suman Ghosh wrote: I have a SmartDevice project application within E:\Wireless folder in development environment. I have an XML file App.Config under this folder. While I try to deploy the application in debug mode in a Simulator, it says the current path to the file is \Program Files\Wireles ...Show All
