Is It Better To Start Learning C# Or C++ In .NET World
Mar 25, 2011
I have some very rusty C++ and lots of C experience, but have done little OO design or coding.I've started learning C++.NET as that seemed to be the best starting point.I've hit restrictions in Microsoft's provision with multiple inheritance and extensions, neither work in C++.Would I be better off starting again with C#, or am I better off using a mixed language approach. eg. extensions in C#, rest in C++?I'm still struggling with this->method or that.property and theother::staticthingy or whatever, and this probably is not an issue in C#. You'll see what I mean as that probably isn't the right way to desribe the difference between '->' '.' and '::'I'm getting to achieve what I want, but it's taking me 10 times longer than I think it should.
View 7 Replies
ADVERTISEMENT
Jun 2, 2009
The only programming language I know is C++, and I would like to learn some others, specifically Visual Basic. So — what are some good beginners tutorials for VB, and what others languages would you suggest are good ideas to learn?
View 5 Replies
Oct 29, 2009
I realize that VB.NET and ASP.NET are the successors of their seemingly obsolete classic counterparts, but I have noticed that some job descriptions still list VB6 and classic ASP as requirements. This may be because they want people who can convert code from classic to .NET, but I'm not really sure.
View 8 Replies
Jun 22, 2010
how to start learning vb and where can i get free resorces and support
View 3 Replies
Feb 9, 2010
I am a RegEx virgin and have no idea where to start.
1. Where is the best place to start learning RegEx?
2. If i have an array list full of text, how can i search for a string which is in the list? For example, if i enter the search string "bob test" in this text: it will return a true. However, if there is only one match, it will also return a true.
3. thirdly, how can i search and pick out the link which is surrounded with the following tags?
View 7 Replies
Jun 22, 2010
I want to start learning/using modules instead of integrating the code directly into the program. So, I tried to make an example. Basically, what I wanted the program to do, is I click button1 and it lists details about my computer. So, I added 7 labels to the form, and a button. Then, I added a module (Module1.vb)
[Code]...
View 8 Replies
Jun 9, 2012
If i can make it so if you click a button, it will start typeing something such as "Hello world!" or something?
View 5 Replies
Feb 28, 2011
I have made my application to start automaticly when windows start (registry ../currentversion/run/appname + path). In this mode the application start minimized and an little icon appear in the notification icon area. With this icon you can maximize the app or exit it.If you exit the app and start it again using the Menu (Start/programs etc) than the application start in minimized mode (and in this case I would like to have it in normal mode) because the setting autostart is still true.Is there a way you can detect when the application start when windows startup using the above registry or when people click on an icon in the programs menu (or desktop)?
View 2 Replies
Mar 15, 2010
how can i make a world map that moves with the cursor and ifor example if i press on asia another page will open for asia's map and the same thing for allwith visual basic 2005?
View 3 Replies
Jan 21, 2011
For a few years I developed websites in PHP, but couldn't get a job doing this nearly two years ago. I spent a year teaching (and if your thinking of teaching, my advice is don't! In the UK anyway), but kept handing my CV out to different web development companies. One of these offered me a job, but the downside (or upside, depending on your views) that they only developed websites in ASP.NET. I made the decision for a career change and accepted the job.
In ASP.NET, you can develop in either C# or VB.NET. The guys I work with are using VB.NET, and I have to say I'm struggling with it. I can understand the basics but it just seems weird, especially as I've come from PHP. C# on the other hand, looks similar to PHP. I'm contemplating learning C# instead of VB, but I'd like to know what other peoples opinions are about doing this?
View 5 Replies
Jan 4, 2010
What are some good resources for learning ASP.NET MVC 2.0 (if I don't already know ASP.NET MVC 1.0)?
View 5 Replies
Dec 11, 2010
Im new to this and im currently teaching my self how to code using "sams teach your self C++ in one hour a day" (of course ignoring the 1 hour a day part!)
[code]...
View 1 Replies
Mar 1, 2010
I have a lot of HD images within my program design and it is causing the screen to flicker when loading other forms. It is kind of
slow too. Is there a way to resolve this, for example, using a reference or component such as DirectDraw. Here are my computer
specifications:
Intel Pentium 4 /2.53GHZ
1.5 GB RAM
512 MB ATI Radeon HD 2400 PRO AGP Video card
19 IN. LCD Widescreen 1440x900 resolution monitor.
could it be the refresh rate of only 60HZ?
View 6 Replies
Dec 2, 2010
I have worked in Windows Forms for years, and still do. I'm not acquainted at all with the ASP.NET technology and no other Web related technology. I have worked with:
Oracle Form Builder;
Visual dBase 7.5;
Delphi 2.0, 3.0 and 7.0;
Sybase Power Builder 10.5;
Visual Basic 6;
Visual Basic 2003/2005/2008;
And ultimately, Visual C# 2005/2008.
I'm mostly a C# programmer with a growing experience in VB.NET for the current year. What would be the way to go to learn WPF the best possible way while taking into account my experience? And I'd like to know, will learning WPF improve my skills in ASP.NET and the like?
View 4 Replies
Jun 16, 2009
i'm new to database programming and am currently learning vb.net and ms sql. I was working on a simple add-edit-delete program and somehow i managed to make the Add button work, with this code:
Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click
Try
con.Open()
Dim sqlAddProduct As String
[Code]....
View 1 Replies
Jan 11, 2012
I'm just curious that how a month is calculated in the rest of the world because Differences in Months between two dates are calculated differently. In our Insurance Company, we calculate a month as below:
[Code]...
View 1 Replies
Mar 31, 2011
At the minute I can display the mouse position using Cusor.Position.ToString() but my screen resolution is widescreem - 1360:768. What about about someone with a standard 1024:768? If I use my application on other computers, it won't work because it deeply depends on mouse co-ordinates
I am aware of a world coordinate system (or something) that will work on all screen resolutions. To use this (which I will need to) I will need to change all of my coordinates in the code? So I'll need to display it in a text box like I did with Cusor.Position.ToString() but what code can I use to get the world coordinate?
There is something like PoibntToScreen and PointToClient but what do these do exactly and how do I use them? I tried using
Code:
MouseCoordinates_tssl.Text = "Mouse Coordinates: " + "{X:" + PointToScreen(New Point(Cursor.Position.X, Cursor.Position.Y)).X.ToString + "; Y:" + PointToScreen(New Point(Cursor.Position.X, Cursor.Position.Y)).Y.ToString + ";}"
but much to my disappointment, it didn't work. What could I do that would work?
View 4 Replies
Nov 2, 2009
I am having a problem trying to get a real time back from this code.
Code:
Public Sub Time()
Dim StartTime As TimeSpan = TimeSpan.Parse(txtStart.Text)
Dim EndTime As TimeSpan = TimeSpan.Parse(txtEnd.Text)
[Code]....
I am using a start time of 09:25 and an end time of 10:15 to test this with. I would like it to return 50, as 50 real world minutes went by. I am getting -1331385.
This is mostly someone else's code from a different forum. I have never used a TimeSpan method before and they keep telling me it works "like what I asked for".
View 3 Replies
Jan 20, 2011
after numerous google searches and comparing excerpts from different peoples' various codes I could not get this program to work, though I came quite close. I'm attempting to make a program that will tell me the time in different parts of the world, a personal use program that I thought would help me exercise my vb skills.
The problem I'm having, however, is that when it should be showing my time it is either 5 hours ahead or 5 hours behind. I tried adding variables and deleted them again time and time again trying to make adjustments but all I managed to do was make the timer get stuck at 12:00:00 AM.
[Code]...
View 10 Replies
Mar 9, 2010
I am really interested in learning VB .net, but I don't really know where to start. Could anyone recommend a good book or website to start learning.
View 15 Replies
Mar 23, 2009
Is there a book for learning the microsoft windows form chart control?
View 3 Replies
Jun 30, 2010
I am a beginners in programming. Please, where can i download a comprehensive tutorials for learning.
View 4 Replies
Dec 13, 2010
I've been programming in C/C++ for several years and want to learn enough Visual Basic to create GUI front ends for some of my C programs & also so I know that C functions I have written can be called by VB programs that others write. I expect that the C programs would have to be turned into DLLs for this to work.
I have created some C DLLs & created other C programs that sucessfully call the functions in the DLLs. BTW I did this with Visual Studio 2010, would there be any advantages to using other versions?Can anyone recommend a book or a website to quickly get me up to speed on VB while allowing me to skip over the parts that are intended for people who are new to programming?
Many of my programs call functions from the Windows API such as CreateFile. IINM these functions can be called from VB, but it is done differently than in Visual C++, eg: in C++ Create file returns a HANDLE variable, but the HANDLE variable type doesn't exist in Visual Basic. So I'll need to learn enough about how Visual Basic uses the Windows API to pass the file HANDLE from the C functions to the VB calling program & back.
View 4 Replies
Jan 5, 2011
i am very new to vb.net and just started learning from the sources on Internet. i m trying to create a base64 coded password but i m stuck on one of its lines.I applied MD5 code to password then I want to apple base64 to password.
[Code]...
View 2 Replies
Oct 1, 2009
I'm not new in visual basic but I finished a book of visiual basic in 2005. Now I'm planing to be a2z software developer on windows platform. Do you think that visiual basic is strong language or complete tool for all kinds of software development ? Will C++ or C# come on my way for software development while i'm visiual basic.
View 3 Replies
Oct 2, 2011
I had made it a goal to learn this particular aspect of programming with .Net at one point. I'm just getting around to it, but after many days of research I haven't come up with much, now I may not have thought of every possible search sure, but that aside I was wondering if anyone had any resources I could turn to for learning
View 7 Replies
Apr 17, 2011
I need to code a label with a date.now of course, but it has to be 3 months, 12 minutes, and 5 seconds into the future.
View 6 Replies
Feb 15, 2010
In visual basic 2008, I've created a logon form for my DDP World project. I was wondering, how do I create a uesr profile? For example:
Username: Admin Password: 9cookies1 (never used that password before, so dont try using it)
View 1 Replies
Jul 26, 2010
The 3rd sub below (WorldMapViewer1_AreaMouseClick) handles "e.Area.Name" just fine. But I need my 1st sub ABC() to pick up the same "e.Area.Name" information and pass it to the 2nd sub LoadStateIndex() before anything is done in the 3rd sub.
Private Sub ABC()
LoadStateIndex()
End Sub
Private Sub LoadStateIndex()
[Code] .....
View 8 Replies
Apr 16, 2012
I know how to calculate a city's location on the world map by using its geographical coordinates as a pixel on the map but how in .net can I draw a link with a cuve? Once I have the curve does anyone know how to determine where the curve should be for the shortest route?
View 12 Replies