473,811 Members | 3,424 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.NET Framework Forum

Microsoft . NET Framework - Ask questions about Windows Communication Foundation(WCF), Windows Workflow Foundation(WF), applications (web, server, smart clients, console and database).
2
2,981
thread by: Rupali | last post Mar 8 '06 by: Bryan Martin
Hi all, I am tring to call a .vbs file using System.Diagnostics.Process class with following code. Process objProcess = new Process(); objProcess.StartInfo.FileName = "C:\\testScript.vbs"; objProcess.StartInfo.Arguments ="1 2 test2.txt"; objProcess.Start(); objProcess.WaitForExit();
1
1,219
thread by: richard.deyoung | last post Mar 8 '06 by: Dick Grier
Does anyone know if there exists a API library for .NET can that talk directly with a printer to poll the number of queued items or if it is out of paper? Is this inherent in the framework?
4
4,019
thread by: pfrisbie | last post Mar 8 '06 by: 6kjfsyg02
I am developing a Web Services interface with C# and our partner is using Java (Axis 1.1). They require me to include xsi:types in the SOAP Messages I send them. For example: <Partner xmlns="urn:partner.xxxxx.com"> <RequestID>239</RequestID> <TimeStamp>2006-03-06T17:10:51.4662331-06:00</TimeStamp> <Subject...
0
877
thread by: Johnny W | last post Mar 8 '06 by: Johnny W
Hello, I have a Web Service that sends data that is encoded in UTF-8 format. Client reads data and expects it's to be in ISO (Latin1) format. What would be the nicest way and where to encode data so, that client would get it's data in that encoded format it expects? Is class Encode the proper one to do it in C# applications? Cheers!
1
2,872
thread by: Eric M L | last post Mar 8 '06 by: Zafar Abbas
I am wondering if I am alone with this problem. Using VS 2005, I must validate an XML file via a Schema and it works well. When I get the schema exception and check the LineNumber and LinePosition properties, they are always set to 0 <=== Here are 2 ways I used to validate the XML always getting LineNumber and LinePosition = 0. Any hints...
1
953
thread by: Jose Manuel vilomar | last post Mar 8 '06 by: Kevin Spencer
Hello Everybody.... this is my first post here so excuseme if I don't follow the rules since I didn't know it.... well here we go there is my topic... I have a site where we put articles which redirect the user to another page with the desire one. The thing is that : how can i catch when the user were redirected to the page in order to get...
1
1,087
thread by: --Fragman-- | last post Mar 8 '06 by: --Fragman--
Hello all, I'm creating some kind of object oriented drawing program, my classes consist of points, lines, quads, etc... Right now I'm implementing undo/redo and copy/paste functionality. For that I need to create deep copies of my objects, but set some property fields to null in some cases. For example I have an attachment feature which...
3
6,285
thread by: Yoav Shapira | last post Mar 8 '06 by: Yoav Shapira
Hi, I have a well-formed XHTML document that, among other content, has the following segment: <img src="uniqueUrl1" /> <p>some text</p> <p>some other text</p> <p>some more text</p> <img src="uniqueUrl2" />
2
1,171
thread by: ddman | last post Mar 8 '06 by: ddman
I opened my VB.NET project and all of a sudden, all of the controls on the form were gone. I tried running it and the form opens normally with all the controls and stuff showing up like they normally do after my login screen. The only difference is a whole bunch of errors cropping up stating so-and-so not declared. However, attempts to open...
1
1,161
thread by: Mike Griffin | last post Mar 8 '06 by: oldbear
I wrote an internal tool for our program using .NET 1.1 C# that accesses MS Access DBs on the LAN and an INI file in the same directory as the app. Before we had a change, I was able to get the app to work by utilizing our IT's decision to promote the LocalIntranet Zone to FullTrust in the security policy by default. This week, our IT...
0
1,114
thread by: Pieter | last post Mar 8 '06 by: Pieter
Hi, When you call the method My.Application.Info.ProductName it returns you the name of the project. So if you use this method in a Class Library, it will return you the name of the Class Library. But is there a way, when using it in a Class Library, top return the name of the application that uses the Class Library? Thanks a lot in...
1
1,076
thread by: Peter Morris [Droopy eyes software] | last post Mar 8 '06 by: Peter Morris [Droopy eyes software]
I expect this in my xml <van id="1234"> <stock level...../> <stock level..../> </van> I do xmlReader.Read(), if the NodeType == XmlNodeType.Element then I call ImportVanStockLevels(xmlReader); ImportVanStockLevels will do this
0
1,441
thread by: mottebelke | last post Mar 8 '06 by: mottebelke
I want to print a bitmap directly to a network printer using a socket. To do this I use PCL codes to set the printer in the right mode and print the image. Note that this code is used on the Compact Framework, so there is no PrintDocument or even a driver I can use. try {
0
1,745
thread by: Sabotage | last post Mar 8 '06 by: Sabotage
Hi all, I am looking to download time zones list for my multilingual software. I found time zones list in english here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wpossetup/htm/microsofttimezoneindexvalues.asp Could anybody advice where could I download time zones list in french, italian, etc? I googled a lot but...
0
777
thread by: John | last post Mar 8 '06 by: John
I want to have a hidden ID field and a descriptive field visible on the checkedlistbox. So that when I need to cycle through all the elements of the checkedlistbox I am able to use the ID and not have to mess around with the actual text being displayed to get my item id. Any idea how to do this? Is this possible?
0
829
thread by: ChrisBowringGG | last post Mar 8 '06 by: ChrisBowringGG
Hi, I am trying to get information about 16-bit applications using Process.GetProcesses and variants, but none of the 16-bit applications show up with these methods. I tried to get at them by looking at the properties of the ntvdm process (see http://www.microsoft.com/mspress/india/Pages/WinXP_tips_Insideout_101801_786.htm),
3
1,151
thread by: batista | last post Mar 8 '06 by: batista
Hello all, I currently have a webpage which has a grid and using webservice.htc im updating its content after every 5 seconds. Now I want to add two forms at the bottom of the page.One of them contains a gird which I want to be updated(and only that grid) when a user clicks a button. So basically I want to reload a part of a webpage...
0
853
thread by: Steve Barnett | last post Mar 8 '06 by: Steve Barnett
I have a real messy ActiveX control written in C++ that I need to use in a C# application. I've tried just adding it to a form, but it falls in a heap as soon as I try to use any of the methods, so I believe I need to rewrite it in C#. Problem is, I need it very quickly and I don't have the experience I need in order to rewrite the code. Is...
0
788
thread by: Tiensung | last post Mar 8 '06 by: Tiensung
Hi all, I have the following error message occuring... An unhandled exception of type 'System.Web.Services.Protocols.SoapException' occurred in System.Web.Services.dll Additional information: Server was unable to process request. --> Invalid object name 'dbo.CodeTable'.
2
1,965
thread by: Xavier | last post Mar 8 '06 by: Xavier
Hi, I've just download Xerces2 Java and I'd like to parse an HTML file using the HTMLDOMImplementation found in the org.apache.html.dom package. First I try : DOMImplementationRegistry registry = DOMImplementationRegistry.newInstance();
1
1,002
thread by: Gary Bond | last post Mar 8 '06 by: Yuan Ren[MSFT]
Hi, Posted this in the .Net.Security forums but did not get any replies - anyone here got any expreience of this, Thanks, Gary ------------copy-------------------- Hi All, Just a quick question - has anybody tried this article lately?
1
1,016
thread by: Ziggy | last post Mar 8 '06 by: Josh Twist
I am still baffled as to how I can return a nice XML document in a Web Services that shows its Response Structure in the asmx page when you browse to it for service operations. All the tutorials I see return a string or integer or whatever the function returns, but not do not show you how to get it to actually display the XML structure in...
2
1,158
thread by: John Bailo | last post Mar 8 '06 by: Jon Skeet [C# MVP]
string s = "ABC"; Debug.WriteLine( s.Length>5?"greater":"lesser" ); The compiler reports:
3
1,132
thread by: Mark Prenter | last post Mar 8 '06 by: Mark Prenter
Hi, I'm having a heck of a time figuring out arrays in the new version of ..NET. I'm used to .NET version 1. I'm trying to set the size of an array, when an object is created.....let me explain it like this : Let's say I have one object called "Compact_Disk" and a second object called "Song". A compact disk can contain any number of...
2
1,586
thread by: Russell Mangel | last post Mar 8 '06 by: Russell Mangel
Maybe someone could explain something that has been bothering me. I noticed that when I create a class library, and then access the class instance's member variables (from client), using the Visual Studio IDE (any version) -> operator, all the private members are displayed. Why is this so? I must assume that their is some rational reason...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.