Topics
-
- 0 replies
- 753 views
I create a process object and open the cmd window, but when trying to run the function WaitforInputIdle() it throws an error and when trying to get the Standard Input stream back, it throws an error. Has anyone done this b4? Oops, found an old article that explains it... http://www.xtremedotnettalk.com/showthread.php?s=&threadid=80308&highlight=process
Last reply by Diesel, -
- 1 reply
- 853 views
Hi All, Is it possible to have multiply WHERE statements in a SQL Statement? This is the code I am currently working with: Dim str1 As String = "SwitchLoc" Dim str2 As String = "BladeNo" Dim str3 As String = "PortNo" Dim strNewSQLStatement As String strNewSQLStatement = "SELECT " & strP2Custom & " From PermanentAssets WHERE " & _ str1 & " = '" & strSwitchLocValue & "' & " & _ str2 & " = '" & strBladeLocValue & "' & " & _ str3 & " = '" & strPortNoValue …
Last reply by Mister E, -
- 3 replies
- 1.6k views
(NOTE - I just realized I was in the wrong forum when I posted this. If a mod could move this to the I/O section that would probably be more appropriate- thanks). I'm writing an app which currently uses the registry for storing program data. Unfortunately the amount of data which needs to be stored can easily exceed the limits for keys, values, etc. so I need to go with a file based system for storage. In keeping with the .NET "mindset" I originally planned to use XML config files, etc., but after looking at some of the overhead and hoops that need to be jumped through just to save/retrieve simple settings, I now think that INI files would offer a better solution (…
Last reply by PWNettle, -
-
- Administrators
- 7 replies
- 1.7k views
I'm needing to install IIS on my Laptop (XP HE SP2). Can it be done? If so how?
Last reply by mark007, -
-
-
- *Gurus*
- 2 replies
- 1.4k views
Hi, I've had a quick look around MSDN and the Visual Studio 2005 sections, but haven't found any information on this yet, but I have an error with C# 2005 Express beta 2. This is the error: http://www.3xodus.net/images/vs2005beta2error.JPG I followed the instructions on perparing the installation if you had pre-beta 2 products installed on your PC to the letter. The error occurs (as you may have guessed from the error) when I try to load a form in design mode. Does anyone have any information or suggestions? Thankyou. PS. I should also point out that I have re-installed several time, once from the web-installer, and three times…
Last reply by 3xodus, -
-
-
- *Gurus*
- 1 reply
- 12.2k views
Visual Basic .NET Standard Edition doesn't come with very many project types, so I decided to add a few more using the VS.NET project scripting system. The .zip file below explains how to install the necessary files. They'll add "Class Library" and "Windows Control Library" to your list of available project types. Note: Files will need to be modified for non-English (1033) installations. newprojects.zip
Last reply by Derek Stone, -
-
- 0 replies
- 1.1k views
For those who are interested, I made a Tokamak wrapper for .net using the swig compiler. I have no time neither to write the documentation nor to test it, than if you want to test it you can find it on my website (the zip file also contains 2 samples). http://www.robydx.135.it in Game & Code section under robydx's software. I tried to keep the same structure except for static function (included in the classes) and something else (terrainMesh). The wrapper is not fully complete (there aren't virtual functions) then let me know if you have some suggestions or if you find some bugs. If you want to write some documentation or demo for next release I'll thanks y…
Last reply by RobyDx, -
- 1 reply
- 4.7k views
Hello! Can anyone provide me workin example in VB.NET how to get sort arrows (up/down) into listview? I know it can be done in VB6, but how to do it in .NET? Thank you
Last reply by cincyreds, -
- 1 reply
- 942 views
How is it possible to make a button go back to the previous page, rather than redirecting it to the actual htm page (loses all the info put in input fields) Cheers Simon
Last reply by PWNettle, -
-
- Administrators
- 5 replies
- 985 views
I hadn't heard word one about this until I was on an interview the other day. They were looking for someone with a little 2005 experience because they have this huge project and will want to migrate to 2005. They said it would be a terribly complicated upgrade - which I didn't quite follow. There are newer namespaces and nicer functions, but I thought this was backwards compatable. They were saying that they would have someone fixing all the breaks in the application because 2005/Net2.0 has code breaking changes. Is this true? I thought 2.0 was new methods (like to/fromXML for a datatable), not changing the existing framework so current applications wouldn't ru…
Last reply by PlausiblyDamp, -
-
- 0 replies
- 1k views
I maintain our company's intranet. I have some asp pages that I am re-writing in .NET. These pages list and link files in a number of folders. Some of these files are .pdf which is no problem but some are Word or Excel templates. With the ASP pages, after much searching MS Knowledge Base, I had to create shortcuts to each template in order to have it open properly due to the fact that we have users with different operating systems (win98, 2000 and XP). Otherwise, the link would open the template, download the file and so forth. Is there a way to open a Word or Excel template in ASP.NET without creating shortcuts to the templates? Thanks for any help or advice
Last reply by lorena, -
- 2 replies
- 723 views
I am very new to asp and was wondering the best way to check if a user already exists. Obviously this would envolve a select query "select * from regdetails where username='simon'" and then to check to see if any items are within the recordset, but I am unsure how to write the code to do so, can anyone post an example of code??? Cheers Simon
Last reply by HJB417, -
- 1 reply
- 1.3k views
Hi all, in my class I declared a string-array property with the attributes to show it on PropertyGrid: <CategoryAttribute("Aspect"), _ Browsable(True), _ DescriptionAttribute("Insert text"), _ XmlAttributeAttribute()> _ Property StringPointer() As String() Get Return m_StringList End Get Set(ByVal Value() As String) Text = Value(0) m_StringList = DirectCast(Value.Clone, String()) End Set End Property It works but the PropertyGrid allows to modify the strings in two ways: 1. through the default String Editor that appear clicking the StringPointer property on the Grid and 2. each single string if you expand the property clicking on the 'plus' sy…
Last reply by BeppePix, -
- 0 replies
- 1.2k views
Here's something that has helped me a lot! Normally, on any error in directX, it would give you an InvalidCallException, or possibly now and then a DeviceLostException. In order to aid developers, Microsoft has created something called Debug mode, where errors are much more clear. Go to Control Panel, and click DirectX. In the Direct3D tab, be sure you set it to Debug mode and move the 'Debug Ouput' slider all the way. The only disadvantage towards this is that you will see a slight reduction in speed, but you will gain a significant accelleration in programming your application :P. Less cryptic errors. Helped a lot to me. Not even kidding at all. Please see…
Last reply by ThePentiumGuy, -
-
- Administrators
- Leaders
- 12 replies
- 3.1k views
Hi... I've being doing this with VB.net, but now I'm developing a control on C# but I can't find the way to correctly presist a typed array in code, it allways persists the content of the desing-time created array on the resources. Everything works fine if the class inherits from the System.Windows.Forms.Control... but I don't need/want those bunch of extra properties... How do I do this in C#? Thanks! Alex :p
Last reply by AlexCode, -
-
- 0 replies
- 1.3k views
How I did(my OS is WinXP Prof with SP2): 1. Download full copy of Visual C# 2005 Express Edition Beta 2(492,204 KB) (from http://lab.msdn.microsoft.com/express/maninstall/) 2. Mount it as CD-image. All fine, I can read/launch files from packaging. 3. Launch setup.exe in root. 4. Little window appear in the center of display and show how files are copying in Temp-folder. 5. Next this window closed. And that's all. No error/warning messages, no info message boxes... Nothing. So all setup.exe done is create new folder in Temp folder(name like "SIT35090.tmp") and copy all files from root of CD-image into this new folder. About logs that setup.exe created: >…
Last reply by Spark, -
- 0 replies
- 618 views
Hi the Data Access block of the Enterprise library from Patterns & Practices doesn't contain a provider for OleDB datasources. We are still using a legacy Access db, and need oledb support. Is there an oledb provider for the block anywhere? Or has anyone written one? I know we can implement one ourselves but we're so pushed for deadlines and we surely can't be the only people around needing to support Access db's still. ?? Thanks s
Last reply by samb, -
- 1 reply
- 877 views
Could someone tell me if its possible to write a program that will display a webpage and record its contents to a video format? If so, what should i look at? Thanks.
Last reply by Jay1b, -
- 3 replies
- 1.2k views
help :eek: !! Whats the best practice for icons in .net? Like I was expecting it would support antialliased XP icons but it doesnt! Is there a best practice in order to force the listview to get them without distorting them? (It puts a black shade around them... looks terrible). I converted the icons to bitmaps and they look better but the main problem is that they dont really support transparency since the imagelist messes them up. I converted them using print screen (wow! lol) so i got em as windows drawed them on explorer file list.
Last reply by cincyreds, -
- 0 replies
- 1.5k views
Hello! I need some advice on VB.NET and printing. I already know how to print, show page setup dialog etc. But is it possible to display selected printer's advanced settings window; for example to choose print quality of specific color printer etc? :( It's the same window which is displayed when right-clicking on printer and selecting Properties in Control Panel. I assume it is system specific change, rather than application specific; so maybe I have to use API? Please, help
Last reply by djjaan,
-
Who's Online 0 Members, 0 Anonymous, 92 Guests (See full list)
- There are no registered users currently online