Answer Questions
Michael Mileos how to add arraylist to string[].
Greetings All, can anybody pls help me to complete the following. i am having a sting array and i want to add arraylist to string array. string [] vaOutput = new string [4]; System.Collections.ArrayList arsList = (System.Collections.ArrayList)ars0.GetValue(0); vaOutput[0] = "E" + Information.Err().Number; for ( i = 0; i <arsList.Count - 1; i++) { vaOutput[1] = arsList.ToString(); } vaOu ...Show All
srfitz2000 Side by side execution +COM components
Hi, I have created one com component using .Net framework 1.1 which i am calling in VB application. It is working fine. Now I installed framework 2.0. When I am trying to call this COM component using .Net application it is working fine. But when I am trying to call this COM comp. using my VB application it is now working. It is throwing exception. Root of problem which i think is when I am calling this COM comp. using VB, Framwork 2.0 is gettin ...Show All
vivek25 Retrieving information from a smart card.
Does anyone know how to pull information from a smartcard I'm writing a web application (c#) and need to pull some information from a users smartcard. Has anyone done this before or has an idea on how I would begin Thanks, Frank ...Show All
slamzeedoor how to execute submit for form,please?
i use vb,i want realiztion submit form on server Send.aspx source code: %@page language="vb"% <script runat="server"> private sub UserClick(sender as object,e as eventArgs) if len(TestBox.text)>0 then call TestSend(TestBox.text) else response.write("disabled submit") end if end sub private sub TestSend(t as string) 'on here i want execute form(TestForm action) submit to g ...Show All
up2date .NET Framework 2.0 Beta 2 setup FAILED!!!
Hi everybody, I Developed a small application in Visual Studio 2005 Beta 2. I tried to deploy that application in a machine running Windows XP SP2. I downloaded the file dotnetfx from microsoft .NET 2.0 Framework Beta 2 Redistributable page and I tried to install it on my deployment machine.... I tried everything to make it work, but the .NET Framework 2.0 does not install on my machine. I renamed the mscor*.dll on the System folder, I'm&nb ...Show All
chankl78 Problem with custom Toolstrip
Hallo everybody, I have made a CustomToolstrip Class, to add a blue gradient look, like this you see above ( when you are writing a message ). And it works. But when I try to add Buttons, they are not visible. The problem might be, that they are overwritten or something like this, but how can make the buttons visible again. My onPaint Methode: Protected Overrides Sub OnPaint(ByVal e As System.Windows.Forms.PaintEventArgs) ...Show All
Adam24 Setting Date Time Culture on the machine
Good Day, I would like to set the date time culture on a machine to dd\mm\yyyy and the currency to NZ (en-NZ). Note that I am not asking how do deal with it in C# code (as I know of culture in the datetime class). I am trying to set the culture on the machine. I will be writting the code to do this in C# 1.1. There is a little something in kernel32.dll calls, but the culture is not given for the format; further, there is no lea ...Show All
CrazyBinary82 thread question
How uses (Thread) to invoke a function System.Threading.Thread dt = new System.Threading.Thread(my function ); dt.Name = "dt"; dt.Start(); How uses Thread to invoke a function public class ThreadWork { public static void DoWork() { for(int i = 0; i<3;i++) { Console.WriteLine("Working thread..."); Thread.Sl ...Show All
Balaji_2307 Text Messaging App using VB.NET?
I am VERY NEW to VB.NET and am wanting to create a text messaging app as a windows service. Can this be done Does anyone have any sample code for communicating with a modem using VB.NET I have previously created a vb6 app that reads a SQL db and sends text messages to various text messaging services. Basically, my users choose a pager(or txt enabled phone) from a list, post a message using a .ASP web app. On a se ...Show All
Sumedh Kanetkar -- Microsoft How to change the address of a web service?
I have a product where PDAs communicate to a local server using web services. Each installation will have their own local server running the web service. In most cases, the PDAs will be on a subnet different from the host. My question is, how does one reference the web service in the PDA application so that one can change the address of the web service without having a recompile Because they are on different networks, I can't just reference ...Show All
Carlos Quintero MVP System .NET features and future
As many of you may already know, the release of Visual Studio .NET 2005 is right around the corner… hooray! As we put the final touches on “Whidbey” for the November 7th launch we are starting a parallel effort focused on planning for our next major release of Visual Studio, codenamed “Orcas”. As we switch hats from ”Whidbey” release to “Orcas” planning, the System.Net team would like to hear directly f ...Show All
J Drennan Pass object by Ref
Hello, I have sort of dummy question If I pass object by ref to the remoth method, and in that method I call method or property of this object, is it going to be executesd on the client or on the server, and also is it going to make a trip to the client In other words: //remote method on the server remoteMethod(ref MyObj obj) { obj.Add("test1"); obj.Add("test2"); obj.Add("test3"); } is going to do 3 additio ...Show All
Dabwang Creating of keys in the Registry.LocalMachine
I need to read some keys from registry, but, if keys are abscent, application must create these keys with default values. RegistryKey regKey; ... //then I tried to make such: regKey = Registry .LocalMachine.CreateSubKey(res); //but regKey == null. In MSDN i found that: //============================================================== IOException The nesting level exceeds 510. -or- A system e ...Show All
6hounds How to get a client certificate in code
Hello, I created an X509 client certificate using Microsoft Certificate Services and installed it in my browser (under Personal). Now I want to call a webservice in code using a raw HttpWebRequest. This works fine, but I want to add the certificate and I don't want to import it from a file but directly from the registry or wherever windows stores it. How can I acheeve this I found some code at http://support.microsoft.com/ kbid=89597 ...Show All
Dave Parker DAL best practices
Hi, I am swithcing from ADO.NET 1.1 to ADO.NET 2.0 Is there any changes on DAL best practices is there ane article or resource that explains ADO.NET 2.0 DAL best practices Any help would be apprecited, Alan If you look a little deeper you will see that the P&P's are infact migrating to the 2.0 framework....check the latest release on the enterprise library for example: http://msdn.microsoft.com/practices ...Show All
