craig kelly-soens xpectworld.net's Q&A profile
.NET Development Urgent!!Problem with webservice creation!!
Hi guys,can anybody tell me how do we configure the port on which our webservie should run while creation of webservices(incase i dont want the webservice to run on a default port).. When i create a webservice in VS2005 ,it runs the webservice on an arbitrarily selected port .Further wen i try to access the same webservice frm any other machine on LAN,it is not able to access tat webservice. Suppose on local machine ,the webservice ...Show All
Windows Forms Infragistics for windows forms
hi guys, I m doing a project in windows forms , which implements the Infragistics controls , i have to create skins sort of things for all the controls in that along with the forms.Say i have 3-4 UltraButtons , and some other controls , all infragistics , when i want 2 change the skin i want the designs to apply 2 all the controls in that form inclusive of it . Just something like the skins of winamp, etc... hope i get a reply soon ...Show All
Windows Forms new vs. gcnew, etc.
Hi Folks- I just started learning about Windows Forms this week and I have a question. I am writing code in C++ and I am not familiar at all with managed code. Some of the tutorials use the "new" keyword to create objects, others use "gcnew". I can only seem to use "gcnew" when I create projects in VC++ Express Edition using the Windows Forms template. Same of course with "*" and "^" for pointers. My question is I'd rather use unmanaged code. ...Show All
.NET Development Wireless Network Adapter
Out of curiosity, can anyone point me to the appropriate API reference for accessing a Wireless Network Interface's statistics (such as signal strength, etc.) - and, if anyone knows, is there a static ratio or mathematical formula for relating signal transfer rate and strength to distance from a transmitter... -- Sam Jones Hello Sam. You can use WMI to query information about the available wireless networks. Here's an example of queryin ...Show All
Visual Studio Team System deleting a workspace from a specific repository
in the process of uninstalling and reinstalling VSTF on my server I have created a small problem with my workspace mappings that I am having trouble resolving. Basically, I want to wipe out the workspaces for a given user, so I tried this: h.exe workspaces (to see what workspaces existed) it outputs something likes this: Repository: dpmserv1 DPMSERV1 <domain>\<user> DPMSERV1 Main project workspace Repository: http ...Show All
Visual Studio 2008 (Pre-release) How can receive plain text Message?
Client: Message msg = new Message(); string str = "microsoft"; byte[] content = System.Text.Encoding.Utf8.GetBytes(str); byte[] header = new byte[4]; header = BitConverter.GetBytes(content.Length); byte[] cmd = new byte[1]; cmd = BitConverter.GetBytes(82); byte[] b = new byte[content.Length + 5]; header.CopyTo(b, 0); b[4] = cmd[0]; content.CopyTo(b, 5); MemorySt ...Show All
Visual Basic Using sender as a case in Select Case Statement
When my form loads it adds some handles (using AddHandler ) to a sub ( showStatus ). What this sub does is checks which control activated the sub (using sender.Equals ) and displays text in the status label ( status ) accordingly. For this I use an If...Then statement for each possibility. There are many possibilities and my code get cluttered. Is there a way to do the same thing with a Select...Case statement. I tried: Select Case sende ...Show All
.NET Development how to set regional and language setings in control panel from vb net
I need this to solve the problem with decimal separator in diferent cultures I found in MSDN Public nfi As NumberFormatInfo nfi = New CultureInfo("ro-RO", False).NumberFormat nfi.NumberDecimalSeparator = "." nfi.NumberGroupSeparator = "" my numbers are saved as string in my database with this format 4512545,56 i tried to send such value to cristal reports and it doesn't accept that with something like "4512545,56".ToStrin ...Show All
.NET Development Can you use XML as a data source
I am trying to design an application that will run on a desktop PC and can store data in an XML file or something. Can someone please advise if this is possible I am trying not to use SQL (too expensive) or Access (the database is 2 Gigs in size and Access just doesn't handle large databases well). Any articles/books/opinions would be most appreciated. Since your DB is of size 2GB, I would not recommen ...Show All
Windows Forms using the tag of a control array to index new forms
I have an application that has a control array of multiple buttons. Each element in the control array is indexed by its tag value. I need to use that tag value after each button click event to display another windows form that will& ...Show All
.NET Development Framework 2.0 breaks app, supportedRuntime does not fix
Original Environment Windows 2000 Service Pack 4 1.0.3705 1.1.4322 Application written using VS.NET 2003 and 1.1.4322. Application calls unmanaged code. Everything works. Breaking Change One change was made, installation of 2.0.50727. It was expected (hoped ) this would not affect a 1.1 application. Details of unsuccessful workaround Added this to the application's config file: < startup > < supportedRuntime versio ...Show All
Visual C++ Vusial Studio 2005 samples
Hello all Does Visual Studio 2005 come with " Visual Studio" code sample If it doesn't then does this code sample exists anywhere else Regards, Sergei Sergei, I believe I was referring to these samples at that meeting: http://www.windowsforms.net/Default.aspx tabindex=4&tabid=49#WinForms%20V2%20(Whidbey ) ...Show All
.NET Development generic concretization at run-time
Consider following code snippet: public abstract class AbstractClass { protected Object param; public void doSomeThing() { .... } } public class GenericClass<T> : AbstractClass { public GenericClass() { param = doSomeTypeBasedOptimization(T); } } public class Client { public static void Main() { Type someType = typeof(string); GenericClass<someType> st = new GenericClass< ...Show All
Visual Basic Finding Folders
Well i find files like this: Imports System.IO Imports VB = microsoft.visualbasic 'Gets the files Dim App_Path = My .Application.Info.DirectoryPath Dim desktopDir As String = Environment.GetFolderPath(Environment.SpecialFolder.Desktop) Dim dir As New DirectoryInfo(Path.Combine(desktopDir, App_Path)) For Each file As FileInfo In dir.GetFiles( "*.txt" ) 'end 'takes 4 letters off the end of ...Show All
Visual Basic ComboBox loses Selected Index after Keypress
Hi, I've ran into what I believe might be a bug with ComboBoxes. I found it trying to implement type-ahead functionality. It appears that when I set a selected index value in the text-changed event of a combo, I seem to lose that value after the event has been processed. I thought at first it was the recursive call back into TextChanged, but the value is still there at the end of the procedure. I'd appreciate some feedback before I submit ...Show All
