AvalonCoder's Q&A profile
Visual C# Converting code from VB to C#
Does anyone know of any tools (preferably free) that can convert VB code to C# code Please post any links to such tools in this thread. Thanks in advance. Hi, Take a look also at: http://www.carlosag.net/Tools/CodeTranslator/Default.aspx http://www.elegancetech.com/csvb.aspx Regards, Vikram ...Show All
.NET Development How can I change the page in writing data to excel file?
using VB.NET,how can i go to next page anytime when i writing data to excel file Hi, Take a look at the following sample: Printing in VB.NET http://www.vbdotnetheaven.com/Code/Jun2003/2087.asp Regards, Vikram ...Show All
Visual Studio Variable in Page Header Not Showing.
Hi i got the same Case as I'm Have This Page HEader that has a txtbox that reference to a hidden text box in my page body. It works With Repeatwith function in the reportviewer but when i export to Pdf trys to print out. It dun work anymore as the Header Variable just dun show For example in Reportviewer its like tt FILLING NUMBER : "The Number" in PDf its Filling Number : nothing (at 1st page to last 2nd page) But o ...Show All
SQL Server metadata driven SSIS package--table variable
Is there anyone know if a simple SSIS package (moving data from source table to target table) or task can be called repeatedly using a variable that obtains value once a time from a metadata table containing only table names. Basically, I would like to pass in a table variable to the SSIS package or task to start the ETL for different tables. Thanks a lot! Oliver Patrick, Can you give so ...Show All
Windows Forms About the forms
Hi, Just in the forms, I've not found out a way, by which we can insert some different items, like check box, text prompt field or the buttons. I think there should be a way for doing this. Any advices to this Thks & Rgds, HuaMin You'll have to be more specific about what you are trying to do. You are trying to insert controls onto forms What is the problem you are having ...Show All
Visual C# :(((((( I dont understand delegates ))))))):
Please i already read and article about delegate i understand how to use them (a little bit) but i dont understand their scope, all articles talks just a liitle about what they are really ment to for using them... Please can anyone help me And if posible a small example... but more about their scope, and when to use them or when do u need a delegate.. PLEASE DO BE SHORT AT WORDS coz` i am very very noob in delegates and not much in c# Thank you ...Show All
Visual Studio Express Editions Visual C# and Excel
After installing MS Visual C#; I attempt to run MS Excel and get a dialog box stating: "Please wait while MS configures MS Visual C# 2005 Express Edition ENU" It takes forever and reruns several times before timing out. I can just press cancel while doing this to get Excel going but I'm looking for a permanent solution. Any ideas ...Show All
Windows Forms SaveFileDialog actions wrong
I have a strange issue. Seems like a few others have had it, but I couldn't find a post on msdn about it. SaveFileDialog either returns DialogResult.OK or DialogResult.Cancel. The problem is if the file name the user wants to save the file as already exists in the current directory, another dialog pops up and asks if the user wants to overwrite. Even if I click "Yes", the SaveFileDialog returns DialogResult.Cancel. Even if this is t ...Show All
Visual C# Lost_Focus Event
Can anybody explain why the lost_focus event does not appear in the list of events in textbox properties list of events but can be found and used in the form designer I meant LostFocus just a typo, and have checked and for the focus events I have just have Enter, Leave, Validated and Validating, very strange ! ...Show All
Windows Forms HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall
I'd like to know what is the naming logic under this key The subkey names seem like a kind of hash. Yes, the key is a hash of the deployment identity. I'll throw in word of caution that this is subject to change in future releases, so you should not rely on this hash being constant for a given application forever. Regards, Sameer ...Show All
Visual Studio Team System Errors re-installing beta 3 refresh
We installed Beta 3 refresh a few weeks ago, and all was working fine. However, we experienced some corruption outside of Team Foundation Server that caused us to have to reinstall Beta 3 Refresh - the reasons behind the need to reinstall are a bit shady at the moment - sorry! During the reinstall procedure, we keep receiving the following error: Error 32000: The CommandLine "F:\<path name>\createds.exe" /setup /install &qu ...Show All
Visual Basic Build error during msi package building
Hi, I got the following message during when building up a msi package of my VB application: This setup does not contain the .Net Framework which must be installed on the target machine by running dotnetfx.exe before this setup will install..... What does it mean TIA ...Show All
Smart Device Development Web Service invocation failure
With an emulator, remote call to web service from Smartphone 2003 application goes through without any issues. However the same call fails when the application is deployed on the actual device and the call is made through the wireless network of Service provided. But, I'm able to browse the web service from the device browser. However when the device is connected to the computer the web service gets invoked successfully through the internet c ...Show All
Visual Studio Express Editions 'NullReferenceException' with blank picture boxes
Whenever a picture box is blank (contains no image) and it is used in an If statement, it comes up with a NullReferenceException error. How can this be resolved Example 1 : Checks to see if the picture box is blank: For temp = 1 To 116 If Form1.Pile(temp).Image.Equals(Form1.Blank.Image) Then 'Form1.Blank is a picture box with no image. If Form1.Pile(temp) is blank , then the error pops up GoTo 200 End If Next ...Show All
Visual Basic Loading drive into a variable
I have this little segment of code that I plan on using in a listbox. I want to be able to select the drive in the listbox pulldown, load that to a variable and use it. I've included the basic code below. Dim getInfo As System.IO.DriveInfo() getInfo = System.IO.DriveInfo.GetDrives For Each info As System.IO.DriveInfo In getInfo ListBox23.Items.Add(info.Name) Next Also, does anyone know how to get rid of the doub ...Show All
