wilhil's Q&A profile
Visual Studio Express Editions Scan my files ? - How do i do ?
How do i do to scan my files and show in textbox1... Example: Scan files which i want : "abc.exe"; "abc.dll"; "abc.ogx"; "abc.txt"; etc... If you find those files, show in textbox1 . And we create a new button with name "delete" because i want to delete files in textbox1 (delete files form textbox1 and computer) Please post the code ok, thats clearer. Dim theFiles() as string = System.IO.Directory.GetFiles ("Path ", ". jpg") 'gets all jpg extensions for each currentItem as String in theFiles MessageBox.Show(currentItem) next ...Show All
Visual Studio Team System Print build summary?
When I double click on a build, it opens a screen showing the build summary, steps, results, associated changesets, and associated work items. This may sound silly, but how do I print this screen The print icon is grayed out... If you go into Team Explorer and open the reports for your Team Project youwill see a "Builds" report. Open it up and you see a report listing all of the builds. Click on the build you wnat to print and it will open up in a printable form. - Steve ...Show All
.NET Development Problems with Regex.IsMatch and IndexOf methods
Hi, I am developing a C# application and am trying to search for a string within a text. I tried using both Regex.IsMatch and IndexOf methods but they are somehow not working for me. Is there any other way to do the search Thanks, Thanks Akbar, I looked into my code again and finally I have split my text into an array of strings and then used Indexof and it is now working fine. ...Show All
Architecture Architecture for full text search on sql 2005
How can I scale full text search on multipe machines How should I design the architecture of the system thanks for the answers. Yes, for any scaleout solution you will have to buy more licenses.>> we might turn into some free staff as the licences cost more than the hardware needed. ...Show All
SQL Server What version: Enterprise manager or Management Studio Express
This may be a dumb question but I have searched and haven't found an answer to it here yet. We are planing to get SQL Server 2005 for a specific purpose.We have several existing stand alone SQL Server 2000 database servers already. I have Enterprise Manager (2000) client installed on my PC. I recently installed SQL Server Express (2005) on my PC to get to know about new features. I have run into problems (BCP specifically) with having two versions of C:\Program Files\Microsoft SQL Server\80\... and C:\Program Files\Microsoft SQL Server\90\... on my PC. Is there any point before or after we purchase Standard version of SQL Server 2005 when I can do away with C:\Program Files\Microsoft SQL Server\80... and/or uninstall Enterprise manager In ...Show All
Visual Studio Express Editions DHTML controls
how do i get the copy, cut and paste controls to work with the DHTML box jenx222, What is the copy, cut and paste control in your project Are they list in VB Express Edition toolbox Please make your problem specific and just tell me what is your DHTML box In order to implement the above function you mentioned, you can write some certain javascript code for each of the functions. However, I don't think you need the javascript code in this question. One more thing, could you tell me something about your project, or what do you really want to do in VB Express Edition Waiting for your reply :-) ...Show All
Visual Studio 2008 (Pre-release) Loading an array of bytes from a Pack URI
My xbap application is able to load images with pack URI's (ex: "pack://siteoforigin:,,/winter.jpg") using: bitmapImage.BeginInit(); bitmapImage.UriSource = uri; bitmapImage.EndInit(); However, I don't know how to load an array of bytes using pack URI's. For example, with a normal http URI, I can do something like: HttpWebRequest webRequest = ( HttpWebRequest ) HttpWebRequest .Create(url); HttpWebResponse response = ( HttpWebResponse )webRequest.GetResponse(); Stream s = response.GetResponseStream(); byte [] bytes = assemblyBytes = readBytes(s); But the HttpWebRequest doesn't like pack URI's. What's the equivalent mechanism for loading an arry of bytes from pack URI's (without caring if the url points to a lo ...Show All
Visual Basic Using jagged arrays in VB 2005
Hi, Even though Visual Basic 2005 supports jagged arrays (aka "arrays of arrays"), there is few documentation and examples on this feature. My question is two-fold: 1- If anybody could kindly indicate me to further reference and usage 2- More specifically, how to perform comparison operations between data contained in the nested arrays. For example, compare a set of monthly weather data recorded for different months. Many thanks! Carlos ok, thanks for the tip. I'm not a programmer, and not willing to be.... And thanks for the tips from Google, they leave enlight me as much as these threads. ...Show All
.NET Development Connection Pooling questions
Does a connection pool exist on a per-application basis, or is is "global" to a machine If it is per-application, then what is the disadvantage of creating one SqlConnection object, and using that connection throughout an application I've read that keeping one connection open is a waste of resources, but if the connection pool is keeping the connection anyway, how am I saving resources by creating a new one in code each time I need one Obviously either everyone else has it wrong, or else I don't understand something. What am I missing Thanks, Kirk If you have a thousand users and you give each user their own connection then that is a waste and worse can actually create a situation where a data ...Show All
SQL Server looping through table tom exec an SP many times
Hi, If i have an SP called mySP that accepts one parameter @param If I have a table of paramaters with only one column like this: Param1 Param2 .. ParamN How do I do if I want to execute the SP on all the table fields: some thing like this: Exec my SP 'Param1' Exec mySP 'Param2' ... Exec mySP 'ParamN' I want that automatically since the parameters are going to be in a table called myTblParams Notice that I don t want to pass all the parameters to the SP just once but only one value each time I execute the SP since mySP ccepts only one parameter. Thanks a lot for guidelines I am not sure what modification you made. Can you post a working sample of your code that demonstrates the issue If you modified the SP to use OBJECT_DEFINIT ...Show All
.NET Development Infrared receiver
I want to create a program that receives information from a normal TV-remote. I have a IR-receiver in my computer but i have no idea how to use it in my programs. Edit: found out how to do but i still need help I created a SerialPort from the formdesigner and assigned it to the COM-port where i have my receiver Then i added a receive-event that looks like this: private void serialPort1_DataReceived( object sender, System.IO.Ports. SerialDataReceivedEventArgs e) { int btr = serialPort1.BytesToRead; byte [] buffer = new byte [btr]; serialPort1.Read(buffer, 0, btr); Console .WriteLine( "---------START-----------" ); ...Show All
Smart Device Development NK downloading problem:"desktop losing ack"?thanks to reply
Hi friends here I met a problem while downloading nk.bin to the target device while connecting ,the PB detected the target device name and ip I clicked the device name and attach to it but always the debug windows showed me"desktop losing ack,ack again" would you please tell me why thanks a lot Sorry, but this forum is for questions specifically related to the DeviceEmulator. You might want to post it to one of the microsoft.public.windowsce newsgroups instead. Usually that message means that there was too much network packet loss between your desktop PC and device. The KITL-over-ethernet protocol uses UDP packets, which can be lossy. This can happen for all sorts of reasons ...Show All
Smart Device Development Device Emulator Manager
Why can't I access device emulator manager (I have both 1.0 and 2.0 Beta) from the Tools menu of VS.NET 2005. I can launch them both as standalones when I go to the respective folders. I HAVE registered the dlls. Any help is appreciated. Which version of VS 2005 you are using Can you please try registering device emulator manager using "dvcemumanager /register" -Thanks, Mohit ...Show All
Windows Forms Message to remove previous installation
The installation program sends a message to remove the previous installation. Can this be automatically done. I tried by changing the Remove previous installation in the project property. I am using Microsoft Windows XP Professional Version 5.1.2600 Service Pack 2 Build 2600,Visual Studio 2005 Professional. I dont know about any previous installations. I mean about setup project I created in Visual Studio. ...Show All
SQL Server MDX OR condition
Hi, How could i have an OR condition to retrieve something like this..... sum(Measure1 for condition 1 or condition 2...) and there is an And of dimension members in the condition if it was only an And of dim members....sum(measure, dim1.xyz, dim2.xyz) would do This is to be used inside a Calculation in a cube in AS 2000. Regards Hi Guys: I made the error in the [Measures].[MaleOrGraduateProfit]. As you probably rember from your math class card(AUB)=card(A)+card(B)-card(A*B) therefore: sum(AUB)=sum(A)+sum(B)-sum(A*B) The only thing that has changed is [Measures].[MaleOrGraduateProfit] definition. with member [Measures].[MaleProfit] as '([Gender].[M],[Measu ...Show All
