|
I've heard C# converts easily to C++ for Mac, but I haven't found anything where I could learn more on this. Does anyone have any knowledge of existing converters/issues/sites with info/etc.
Much appreciation!
RABB17
"C#ly, don't wear SUN-glasses."
|
|
|
|
|
Rabbit17 wrote: I've heard C# converts easily to C++ for Mac
LOL - seriously ?
I would imagine that conversion to Java would be *possible*, but I don't see any reason that C# would port to C++ on the Mac or the PC easily. For starters, C# is full of libraries that C++ does not offer.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I have created a windows form application in Visual J# and on this application I have a tabcontrol. The problem I am having is that I have a "richtextbox" on one of the tabs(Tab B) and when I receive information in Tab B and i click on it, The entire form freezes(bascically it does nor respond and the program crashes). I have realised that if I have Tab B open before the message is received, I receive that message and everything is fine. Is there anyone that can solve this problem?????
p.s. Thanks in advance to all responses.
dipset_dave
|
|
|
|
|
Should work fine; can you provide the code for this?
|
|
|
|
|
I want to deploy .net framework with my vb.net windows application if it is not exist on the target machine
so how to do this?
what tools do i need?
Regards,
Maher Abu Zer
|
|
|
|
|
Hello,
You can let the installer to download it from internet, or you can include it in the installation project (the project if that it will add 10 Mb. to your installation file), here you have the details:
HOW TO: Distribute the .NET Framework with a Visual Studio .NET Deployment Project
http://support.microsoft.com/default.aspx?scid=kb;en-us;324733
/// -----------------------
Braulio Díez
http://www.bdiez.com
/// -----------------------
|
|
|
|
|
Hi,
I'm currently working on a user control which can scroll its contents. For this I'm using a ScrollableControl. When disabling it the scrollbars don't appear disabled (although they cannot be modified). Does anyone know a way to make them look disabled?
|
|
|
|
|
Not sure I get you. How to scroll bars look when disabled?
I never noticed before.
My Blog[^] FFRF[^]
|
|
|
|
|
No. I know how the look (they get some sort of greyed out). But when I set the Enabled property of my control (which inherits from ScrollableControl) to false the scrollbars still appear enabled (although not reacting to clicks).
|
|
|
|
|
hi
i have a problem i have one windows service which i am installing from one other exe(in process.start simply using cmd.exe and installutil) now i want to combine these both exes into one for deployment.
see tell me how i will use path for the windows service when i will embedd it into the one whole exe(in cmd.exe installutil)
shan
|
|
|
|
|
Firstly I want 2 ask abt the difference of compiling a project and building a project generally.Secondly If anyone know abt the compilation steps involved in .net framework in terms of all the files(dll's or all other dependencies) that r formed during its compilation then plz let me know abt it,actually i want to perform compilation of a .net project(of c#) distributedly by using .net remoting so if any one has any information or material related to this then plz tel me abt this,thanks in advance
sam
|
|
|
|
|
hi samtam
i was also interested in this
by seeing some command line arguments of csc u can little understand since there are arguments for adding things like resourses files amd modules
even i didnt go for that since it involes lot of issues but sure go for that
and tell me latter
ok
shan
|
|
|
|
|
What is the best way of adding controls to the form in vb.net or c#.net
Phanindra...
|
|
|
|
|
If you are using Visual Studio, Borland's IDE, SharpDevelop or something of that kind, you can simply drag&drop the control on the form.
If you do not use a IDE you must define and initialize every control manaully from the code.
--------------------------------------------------------
My development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
I have tried to put my C# applications and DLLs developed with VS.2005, including some C# DLLs that wrap legacy C++ DLLs (via Managed C++), on a computer that has no development environment. I thought if that computer had .NET 2.0 (and I am using some .NET 2.0-only components), my applications would run. They do not. They run fine on my development machine, but when I run the exact same executables on the exact same USB drive on another machine, they either fail to load (FileNotFoundException, but of course it doesn't tell you what file was not found), or they load but fail to work (unable to create TCPListener socket). Since there is no difference in the bits or in the directory, that leaves the path, as far as I can think. But apart from the VS.2005 development directories, the only path differences are to windows or winnt's system32 directory.
So what does one need on a Windows 2000 or XP machine, both of which have ALL service packs and updates and both of which have just had .NET 2.0 installed on them, to get programs to run properly? Any help would be greatly appreciated.
I have NOT made a deployment project of any kind and don't see why I should have to. I have just move the bits, including all dependencies from one machine to another.
|
|
|
|
|
BambooMoon wrote: I have NOT made a deployment project of any kind and don't see why I should have to.
COM registration would be one requirement. If your C++ .DLL's are COM-based, your Managed code wrappers wont work for what's not registered.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Thanks for the good idea. Unfortunately, mine aren't COM based. But I've discovered that at least part of my problem is the C++ runtime used by the wrapped classes. I need to get vcredist_x86.exe from Microsoft and install it. That got things running completely on one of the four machines where they weren't working. The other 3 still don't work. But I've opened a support incident with Microsoft, so perhaps on Monday I'll know why.
|
|
|
|
|
Hello friends,
I have the following piece of code to call a stored procedure in SQL database:
Database db = DatabaseFactory.CreateDatabase(_DatabaseInstanceName);
DBCommandWrapper cmdWrapper = db.GetStoredProcCommandWrapper(spName);
cmdWrapper.AddInParameter("c_WksID", DbType.Int32, c_WksID);
....
In line 1 where I call the DatabaseFactory, I am not getting a good connection string to my database. If I interrogate db, in the watch window, I see that Connection String has an "error: Cannot obtain value" against it.
I have lot of stored procedures wrapper in my code and everything works except this.
Can someone please please help me?
Thanks.
-arvind
|
|
|
|
|
Does the line DatabaseFactory.CreateDatabase(_DatabaseInstanceName) work elsewhere in your code? If not, is the connection string set up properly in your config file? If so, is your code able to access the config file?
|
|
|
|
|
I've been putting together a simple routine to parse a streamreader, using a StringBuilder object as a buffer.
<br />
Dim streamBuffer(bufferSize) As Char<br />
Dim strBldr As New StringBuilder((bufferSize * 2) + 2)<br />
Dim reader As StreamReader<br />
<br />
Do<br />
If strBldr.Length < bufferSize Then <br />
Array.Clear(streamBuffer, 0, streamBuffer.Length)<br />
streamReadLength = reader.Read(streamBuffer, 0, bufferSize)<br />
<br />
strBldr.Append(streamBuffer)<br />
<br />
End If <br />
.<br />
.<br />
.<br />
What seems really weird is that only some passes through the loop the StringBuilder object's Length is incremented by the size of the streamBuffer's contents but the contents are not Appended to the StringBuilder.
So, while the strBldr.Length will equal say 4096, the StrBldr.ToString().Length will equal 310 and StrBldr.ToString() will produce a string that is 310 characters in length. Meanwhile, the streamBuffer field will have an array of characters in it.
I've searched unsuccessfully for any reports of bugs. Anyone got any ideas?
Will
|
|
|
|
|
I am getting into printing with VB.NET 2005 and want to implement the usual
capability that a user can select a selection of pages. I have a report
that is generated by my application that if the user wants all pages will
produce 3 pages. I want to offer the user the ability to select via the
print dialog that only pages 1 and 2 of it are printed or possibly pages 1
and 3 but not 2.
At the moment I can produce all three pages either as a print without a
preview, or via a print preview.
I have printing routine that handles the PrintPage event of the document
object used for this report.
My issue is how do I work out when the print handler routine is called which
of the pages is being printed at the time, ideally I want to have a select
case statement in my printing routine that says:
Select Case MyDoc.PrinterSettings.PrintRange.PageNumber
Case 1
'Printing commands for page 1
Case 2
'Printing commands for page 2
Case 2
'Printing commands for page 3
End Select
I feel like I am missing something and am probably making this more complicated than it is?
Any help, or links to web sources that describe the process would be
appreciated. I have 3 books on programming in VB.NET and none of them cover
the subject of how you deal with printing a selection of pages. I also
cannot find anything by googling that deals with this issue.
Siv
Siv
Graham Sivill
Martley, Near Worcester. UK.
|
|
|
|
|
hi
i am a novice to .net . i installed the frameword on my system.but forgot to install to iis server. Now i am not able to niether make web applications nor run it.
some one told that i've to map iis with framework.How do i do this.
can't i run iis on some other port?
please help me.and thanx in advance.
bye
nauty
|
|
|
|
|
I've had similar problems, you might just need to register the framework with IIS. This will tell IIS how to process .aspx files and such.
%WindowsDir%\Microsoft.NET\Framework\[Version]\aspnet_regiis.exe -i
|
|
|
|
|
|
Hi buddies
Thanx for your help.I really tried both the method but none of them worked.
Still when i am creating new project in asp.net, the following mess is displayed:
"Visual Studio.NET has detected that the specified Web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET Web Application or services."
When i am sending request to localhost at xplorer
http://localhost/
it is not opening the two screens of iis.but instead its opening someother page.
Can i change the port of iis.If so how can i do that.
thanx in advance again
bye
nauty
|
|
|
|