vtb's Q&A profile
.NET Development Using Internet From C#
Is it possible to use some .NET library to download a file from the internet automatically to a specified directory Let's say I have an excel chart on my website, and I want to download it to C:// Also, I want to be able to do the same with a web page, i.e., I want to go to www.mywebpage.com/index.html and download index.html to a certain folder by using .NET. Will this take a lot of complicated code Can I just use a .NET library, or must I use Win32 API or something like that After doing some thorough searching, I came across this article, http://www.developerfusion.co.uk/show/4637/2/, which explains some good stuff. This answers y web page question, but how do I do files ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Need help
Where can i find some good tutorials and manual for XNA Game Studio It can be in .pfd. I also have a blog with a good number of tutorials covering 2D sprites and I am currently adding tutorials on 3D (4 tutorials on 3D so far). The link is http://www.xna101.net Bill ...Show All
Windows Forms .Net 3.0 Spell Check
I see that .Net 3.0 supports realtime spell checking in TextBox and RichTextBox controls; however, I could not find any reference to the dictionary that is used or how it could be changed. In my application, I am interested in using a custom dictionary. Is this possible How The complexity of using your own words without the power of the dictionary seems to be able to show the correct words for alternatives to the miss spelled one. For example, if I type 'ny' in Word the spell check gives me nay, my, knee, and others. As you can see, there is probably some complex logic for determining which words are the replacement/correct words for a missed spelled word. I think the spelling engine provides this ...Show All
Smart Device Development Enabling Phone in POCKET PC 2003
Hi everyone, I am using Visual Studio 2005 for C++ and I wrote a program which uses tapi and sms functions. But to use them, I have to open the phone manually on my pocket pc. Is there a way to enable the phone by a function I mean, when I run my program, it should enables the phone feature of the pocket pc. I tried phoneOpen but it does not help. Thanks. ...Show All
Architecture Observer pattern
Hi all, I'm trying to use the observer pattern on updatng GUI controls. I have some controls (TextBoxes, Buttons)... I don't know how to link the Update method to the control. Is it possible to do that without inheret from the control and implement a new control includes the Update method. I have the IObserver (IGUI in my case) and ConcreteObserver (Control in my case) Any suggestions. Please help. Regards... Hi wasimf, I read your post but seems it lacks of details. I mean, imagine if I ask you "to go to the park, do I have to turn into left or into right " (which park where are you caming through where are you coming from those answers matter) In your ...Show All
Visual Basic How to disable the refresh method of Picturebox
Hi : I Have PictureBox Control the user can draw over this picturebox some lines and he will save it to file . but when the form that contains this picturebox has minimized or sended to back when the user get the form to top again the drawed lines over the picturebox were gone . and the picturebox has refreshed . i want to disable the refresh method to make the picturebox save the changes . is it possible thanks ................ thanks dman but i don't using paint event to drawing.... Actualy i want to draw in freehand mode some lines above the picturebox and save the new picture to file ...... please read the following code: ...Show All
Windows Search Technologies What's the name of the 'Preview Text' column
Hmm, as all the column names have changed/aligned in WDS 3.0, does anyone know what the 'preview text' is now called for a query string. In WDS 2.X it was called 'Characterization' but nothing similar looks like it's in X:\Documents and Settings\All Users\Application Data\Microsoft\Search\Config\msscolmn.txt... Also, is there a nice regkey like 'WatchLog' that put out the queries to file anymore - that would help a lot... Ok, from this moment on, (umm, -> <- this one, just there, like now), I'm going to wait at least 15 minutes before posting a question I find the answer to 14 minutes later. The answer is 'System.Search.AutoSummary'. ...Show All
.NET Development XSDObjectGen 1.4.4.1 - Enum values having a "dot" character in them are incorrectly converted
Hello everyone, I ran a search for this but found no related articles. When an XSD schema contains enum values which have a "dot" in them, XSDObjectGen V1.4.4.1 seems to misbehave by generating code that still contains dots: VB.NET 2003 won't compile enum values with dots in them. However, "space" characters get converted to underscore. Here's an example : Source schema: Source schema: <xs:simpleType name="SomeType"> <xs:restriction base="xs:string"> <xs:enumeration value="some.value1.with.dots.in.it"/> <xs:enumeration value="some.value2.with.dots.in.it"/> <xs:enumeration value="some.value3.with.dots.in.it"/> </xs: ...Show All
Visual C# Playing an mp3 Byte[] Array how?
I have stored in memmory an byte array of an mp3 file and i want to play it how can i do this well you can store the byte array into a memorystream, then play it. The thing is in .NET 2.0 there is no direct way of playing an MP3 file. You would have to use some external software or something to do this. question is - why did you store it in a byte[] array ...Show All
Software Development for Windows Vista Processes launched by IExpress strangely fail in Vista: any idea?
We use the Microsoft's IExpress to package several executables into a self-extractable installer package. The self-extractable installer extracts two EXE and then launches them. There is something very strange happening when the self-extractable IExpress-generated installer runs on Vista. It correctly extracts the executables but one of them fails strangely when launched by the IExpress-package. The failing executable is a Visual Studio-created C++ application. Failures happen very early into the execution. WinAPI calls such as ::LoadCursor, ::SHGetFolderLocation fail before the WinMain is even entered. These calls happen during static data initialization of C++ application. At the same time the executable works perfectly well when launche ...Show All
SQL Server Multiple Record Types Same File
A flat file I must parse has multiple record types in the same file that must be processed together. For instance, in the following example: 01TestStuff888 02TestStuff2 03TestStuff3 01TestStuff4 02TestStuff5 Each 01 record type has the records after it associated to it until the next 01 appears, so TestStuff would have TestStuff 2,3 related to it while TestStuff 4,5 belong together. In the example the 888 in the 01 record is the key to the group, but it does not appear in the following lines. The problem is that each record type has different line formats, columns, etc, so they must be parsed differently. I have created a conditional branch on the first two characters, and written each record type out to a seperate flat file for t ...Show All
Visual Studio How to force rebuild of Document explorer index manually
On my Visa machine I have installed VStudio Team Suite, Team Foundation Client, and VStudio DB professional. all upgraded to SP1 (took me 4 hours to update :-) After installing Windows Mobile 5 PPC SDK, the document explorer always crashes when trying to rebuild its documentation (it gets to 768 MB memory use and than crashes in HXDS.DLL; online error report never comes up). For this program worked befor install of WM5 SDK, I would like to clear the help index and remove all WM5 files from it. But I can't find any information about how to force a complete new build of the help index or how to build an index that excludes some help files. Is there such an information or what can I do to completely remove any information Document Ex ...Show All
SQL Server Severe Error Occurring When Creating Assembly With External Access Permission
I had created a CLR function in my db and was able to execute it successfully a couple of months ago. But when I tried to execute it today it was throwing errors saying there was something wrong with the permissions on the assembly. So I decided to drop everything and recreate it except I can not longer create the assembly with EXTERNAL ACCESS permissions. Whenever I try to create the assembly I get the followng error: Msg 0, Level 11, State 0, Line 0 A severe error occurred on the current command. The results, if any, should be discarded. Msg 0, Level 20, State 0, Line 0 A severe error occurred on the current command. The results, if any, should be discarded. I also tried to create the assembly with Unsafe permissions and g ...Show All
SQL Server Certification Question
Hi all, I am new to Sql Server 2005 I planning to take exam MCTP exam 70-445 is the cert 70-431 a pre-requisite for certs 70-445 and 70-446 Thanks and regards Currently, according to the 'official' Microsoft websites, 431 is NOT required for SQL BI certification. See: http://www.microsoft.com/learning/mcp/mcts/bi/default.mspx http://www.microsoft.com/learning/mcp/mcitp/bid/default.mspx ...Show All
SQL Server SSAS The system is out of memory
Hi I have a couple of current problems, for which I've been able to find very little info in this forum, or on the net generall. Hopefully someone can shed some light on them... 1) I am receiving application informational events from SSAS 2005 that "The system is out of memory" (Event ID 2). It seems to happen quite randomly. Having received this error, it appears to slowly grind to a halt, eventually not allowing connections from the Management studio, and cube process requests never return. For example, last night a program requested a complete database to Full Process at 03.44 but was still waiting for a response at 07.45 - the process normally takes a maximum of 20 minutes. SSAS would not allow me to connect vi ...Show All
