|
I don't think there is any tool available for doing such conversion.
You have to do it manually. If you find any problem in conversion of any specific block of code. You can post it here for conversion.
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
ok thank you.
here is part of code
If i = fgReport.Rows - 2 Then Print #1, Tab(60); String(35, "-")
Next
Print #1, Tab(60); String(35, "-")
Print #1, ""
Print #1, String(90, "-")
If gpgalign = "foot" Then Print #1, Tab(15); "PAGE : " & pg
Print #1, Chr(27) & "j" & Chr(144);
Print #1, Chr(27) & "j" & Chr(144)
Print #1, Chr(12); gpgwid2
Close #1
Close #2
rtb1.FileName = gRepsDir & "\RepLedg.txt"
cmdPrint.Enabled = True
End If
here i dont know how to convert this print #1 to .net.
Thank you
|
|
|
|
|
|
Hey,
if is a small code why d´ont you ask here? i d´ont know vb but others do!
The syntax is quite the same so i think you can translate some code yourself, post here (or in vb forum) what you d´ont know.
Good Luck
nelsonpaixao@yahoo.com.br
trying to help & get help
|
|
|
|
|
Hi Guys,
I need an sample code to achieve Late binding in C#.
Thanks for the advances answers.
|
|
|
|
|
Late binding of what?
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
Hi Ahsan,
I don't know any thing about Late binding can you explain with any example.Thanks in advance reply..
Thanks
Ramesh
|
|
|
|
|
Late binding data to a grid? Or late bind an assembly? There's a huge difference between the two
|
|
|
|
|
|
how to edit appconfig in windows application(C#)??
i am using this code but not getting success please help me
Code:-
Properties.Settings.Default.DestinationDrives = "ppc";
Properties.Settings.Default.Save();
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
|
How many times are you going to post this question? You don't even say what you think is going wrong or why.
I suspect if you read back you were given the right answer on about your first post.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
He´s right, you need to say more in order to understand your problem, help us to help you (if we can ).
In your next post just say what you are doing and what goes wrong and then maybe someone can help you
nelsonpaixao@yahoo.com.br
trying to help & get help
|
|
|
|
|
I am trying to output stuff from my program to the output window and have followed the simple instructions given by numerous sites:
<code>
using System.Diagnostics;
namespace myapp {
class MyApp {
static void Main(string[] args]) {
Debug.WriteLine("Hello World!");
}
}
}
</code>
When I do View -> Output Window (in Visual Studio),
I get the output window but Hello World does not appear ??
Am i Doing something wrong ??
Help much appreciated!
Regards
Gerry
Debug newbie
Meet New People - Its Free!
http://www.twoggle.com
|
|
|
|
|
Try using Console.WriteLine(...);
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
Are you building a "Debug" build or a "Release" build. You can tell by looking at the toolbar in Visual Studio (assuming you haven't customized any of the toolbars, it's the "Standard" toolbar) and looking at the "Solution Configuration" dropdown. If it doesn't say "Debug", then your output will not dispaly as that line won't even be compiled in to the code.
Scott Dorman Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA
[ Blog][ Articles][ Forum Guidelines] Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
|
|
|
|
|
you must run your project with debug config mode by pressing F5 or click on play button
|
|
|
|
|
Hi,
Can you Help me Out in Retrieving the database by selecting computer name from the dropdownlist using web application.
Thank You.
|
|
|
|
|
anithagaraga wrote: Retrieving the database by selecting computer name from the dropdownlist
What does it mean ? What is your main objective.?
anithagaraga wrote: using web application.
Then you should post it in ASP.Net Forum
cheers,
Abhijit
|
|
|
|
|
when i select any computer name from the dropdownlist then i should get their database which is there in that particular system if no database is available then i should get the popup or message saying that that particular computer name dont have any database.....
Thank You...
|
|
|
|
|
Is the listview (not listbox) not vertical scrollable?
I have the style set as List and scollable = true but don't seem to get the
vertical scroll.
|
|
|
|
|
you will view the scroll bar, only, once you have more items in listview then they could be viewed in the area occupied by list view.
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
Hi,
Here is my issue. I am trying to covert string to html encoded characters. For example, "Hello World" would be converted to "%48%65%6c%6c%6f%20%57%6f%72%6c%64". I am trying to do this encoding in a Windows Application. I have used
System.Web.HttpUtilities.HtmlEncode("Hello World") as well as
app.Server.HtmlEncode("Hello World") (where app = new HttpApplication()) and my result always ends up being "Hello World". What am I missing?
Thank you in advance for your help.
this is the table im using for mapping
modified on Wednesday, October 22, 2008 7:10 PM
|
|
|
|
|
What you're trying to do is get the ascii values of your string. It's not actually HTML which is why the functions aren't doing what you expected.
What you need is something like this, where you go through each character in your string and get the ascii value. Oh and you need it in hexadecimal rather than decimal:
string Encode(string input)
{
StringBuilder sr = new StringBuilder();
foreach(char character in input)
{
int value = (int)character;
sr.Append('%');
sr.Append(value.ToString("X"));
}
return sr.ToString();
}
EDIT: Woah, missed the pre tags there.
My current favourite word is: Nipple!
-SK Genius
Game Programming articles start - here[ ^]-
|
|
|
|
|
Got your message after i posted my reply. Thanks!!! You are right about the Hex. Thanks for your reply.
|
|
|
|