Good Exercises To Transition From Coding In .NET To C#?

Nov 18, 2009

What are some good exercises that an intermediate/advanced VB.NET web programmer should to do gain syntax chops on C#? I imagine some good examples would be: algorithms or project exercises that run the gamut of C# syntax,reference material,list of the key syntactical differences that VB.NET programmers should be aware of?

View 10 Replies


ADVERTISEMENT

Exercises To Advance A Student Programmer On Down Time

Aug 11, 2009

Currently on an internship from my CS degree, we have some down time and I'd like to spend it working through a series of problems (although none too large) that would advance my programming skills and allow me to dip my toes in a large breadth of different topics and areas. Unfortunately, everything I do must be done in vb.net on .net 2.0, without downloading any particular libraries.I've already worked through many of the "code-golf" tagged problems on here and the programming praxis problems posed by dailywtf.

View 7 Replies

VS 2010 - VB Training - Practice Exercises To Develop Skills

Mar 14, 2011

Can anyone suggest a book or a direction for some training other than bombarding you guys with posts all the time? I'd like something geared more for teaching than for just reference. Books really aren't cheap and I'd like to just buy one if possible. Free website tips and training would be nice too. I've built a calculator for fun and my project will be more database oriented but I'd like to build more form applications.

View 3 Replies

C# To VB Transition?

Jan 6, 2009

I have a C#.net project which I need to convert to a Vb.net project...anyone have an idea how to do it?? is there like a direct conversion method in visual studio?

View 3 Replies

Create A Transition Sidebar?

Jan 9, 2010

Look at this video[url]...

How can I create such a popup window that open when i Clcik on a button?

View 5 Replies

Slide Transition Between Forms?

Jun 4, 2010

How can I make a transition between forms so that it appears the second form slides in from the right? I know its possible to make a slide effect with a timer, but how do I do it to move a form?

View 18 Replies

Using Slide Up Transition Effect In Form?

Feb 6, 2012

How to slide a form up while revealing another form. II basically want form1 to slide up when closed by the user and while the slide transition is taking place I want form2 to Gradually show. How to achieve the slide up transition in Visual Basic 2010?

View 4 Replies

Hard Coding Vs Soft Coding

May 7, 2009

Say we have a DataGridView on the main form. I can chose to establish its properties by code or by selecting them in the Properties panel. Is there a difference between these two techniques, a loading time penalty in any of the cases especially?

View 5 Replies

Application Tracker - Passing Form Name During Transition

May 6, 2008

Suppose I have 4 different forms form1-4. If I open form1 from form 2 and close form2 how can I know that form2 opened form1 and not other form. Is there any function that does this or we need to pass the form_name during the transition and which one would be efficient.

View 6 Replies

Make A Transition Effect Of A Page Turning

Jul 20, 2009

I'm trying to build an application to increase my understanding of visual basic. I may have set the bar too high for myself but it's the challenge that makes it fun right? Anyway, I'm trying to make a transition effect of a page turning. The application is a brewing database which looks like a book. I think the transition would make it look more professional. Dose anyone have on how I might be able to accomplish this? A basic example even would go a very long way.

View 5 Replies

Webservice Timing Out - Unable To Transition From COM Context

Nov 3, 2009

I added a web reference to my VS 2005 console application [Code] The call to this WS times out with :"The CLR has been unable to transition from COM context 0x1a3008 to COM context 0x1a3178 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages.

This situation generally has a negative performance impact and may even lead to the application becoming non responsive or memory usage accumulating continually over time. To avoid this problem, all single threaded apartment (STA) threads should use pumping wait primitives (such as CoWaitForMultipleHandles) and routinely pump messages during long running operations."

I used WCFStorm to call this WS and the result comes back in an instance, so I don't think the WS is a problem. I deleted the web reference a few times and added it back again. did the clean and rebuild operations.

View 2 Replies

.net - Checking For Null Variable In Workflow 4.0 Transition Condition

Feb 27, 2012

I'm implementing a State Machine in WF 4.0. In some transitions, I have added a condition where I check that some variables have the expected values. The variables are enums and booleans, and everything is fine.

However, now I tried to evaluate when a property is null. I have and argument in my workflow, let's say, 'MyArgument'. In a transition, I try to put a condition like 'MyArgument.MyProperty = Nothing'. I never developed in VB.NET, I don't know if I'm missing something here...

VS2010 gives the following error: "Error 4 Compiler error(s) encountered processing expression "MyArg.MyProp = Nothing".
Operator '=' is not defined for types 'XXXX' and 'XXXX'

The type names are exactly the same, and I have debugged VS2010 to ensure that my assembly is not loaded from 2 different locations.

How can I check if the property is null or not?

BTW, I'm using VS2010 SP 1, with .NET Platform Update 1 installed, on W7 64 bits.

View 1 Replies

Create The Slide Transition In The Windows 8 Lock Screen?

Feb 25, 2012

How could i re create the slide transition in the windows 8 lock screen. I want my form1 to quickly slide up while revealing form2(Both forms are borderless and in maximized state) (like when the lock screen slides up while revealing the logon screen in windows 8)

View 2 Replies

Making The Transition From VBA To Full On VB Net 4 Using Visual Studio 2010?

Jan 24, 2012

I am just making the transition from VBA to full on VB net 4 using Visual studio 2010. I think I have the basics down but am struggling with learning the commands for windows/filesystem manipulation. The problem is as follows I am creating my first program - the aim is to accept a root directory, then go through each sub directory in that location and delete the contents of any files whilst retaining the folder (hope that makes sense!)

[Code]...

View 3 Replies

VS 2010 Transition To A Different Link (from A List) When The Timer Runs Out

May 31, 2012

I'm making a browser type program and I want it to transition to a different link (from a list) when the timer runs out.

View 8 Replies

Error: The CLR Has Been Unable To Transition From COM Context 0x4cefd8 To COM Context 0x4cf148 For 60 Seconds

Aug 20, 2009

When bulk renaming files (14000 of them) i get this error: The CLR has been unable to transition from COM context 0x4cefd8 to COM context 0x4cf148 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. This situation generally has a negative performance impact and may even lead to the application becoming non responsive or memory usage accumulating continually over time. To avoid this problem, all single threaded apartment (STA) threads should use pumping wait primitives (such as CoWaitForMultipleHandles) and routinely pump messages during long running operations.

My code is as follows:

Private Sub frmTest_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim asd As List(Of String) = FileIO.FileSystem.GetFiles("D:Music").ToList
Dim rs As New ADODB.RecordSet("SELECT * FROM Songs", My.Settings.Files_Database__Connection)

[code].....

View 4 Replies

Good Way To Use DocumentCompleted

Aug 15, 2011

This is a good way to use DocumentCompleted using AddHandler (good for a tabbed web browser) [code] Of course,.you can adapt this for a tabbed WebBrowser by replacing me.text with tabcontrol1.SelectedTab.Text.

View 1 Replies

C# - Good 3270 Emulator (.NET)

Jun 24, 2011

What is a good 3270 emulator(which can login, scrape screen, find text, send keys etc. in background) for .NET(win n web). Something very similar to [URL](apparently zephyr costs like $5k per year, which is quite a lot, for one pc).

[Code]...

View 2 Replies

Good / Updated Tapi Sdk?

Aug 12, 2010

Does anyone know if Visual Studio 2010 has a good/Updated Tapi sdk? Or Does any one know where I can get a Tapi Sdk that is in .Net format?

View 1 Replies

Good ASP / SQL Program Book?

Apr 21, 2010

I am starting off in the .NET world and wanted to know what a great beginner book would be that would explain how to use asp.net, vb and SQL.

I hear "Learning Visual Basic" is a good series but wanted to see if there were anymore out there.

View 1 Replies

Good Idea For An Easter Egg To Put Into App?

Jun 3, 2009

So I'm on the way out of the woods for my latest app, which will have users across the nation.I'd like to put in an Easter Egg, but ideas are escaping me.Does anyone have a good idea for an Easter Egg to put into my app?

View 15 Replies

Good Scientific Calculator Example?

Apr 16, 2010

Show me a link to the source of a good scientific calculator example?

I'm using VB express 2008. I've been searching, but I can't find any good ones that work with express 2008!

View 6 Replies

Good To Use Flash On Map Image

Mar 15, 2010

im planning to create a n GIS..and its good to use flash on map image.

View 2 Replies

Good Way To Do What GetAsyncKeyState Does On System?

Aug 31, 2009

I have looked at many of the tutorials, however, using 64-bit windows vista home premium using those examples, it doesnt seem to work, however, I don't have other computer to test on, is there a good way to do what GetAsyncKeyState does on my system?

View 7 Replies

Good Word To PDF Convertors?

Jul 29, 2009

I realize that this would mean a third-party component and I've looked at a few. Does anyone use/know of a component that they would recommend to get reliable, quality Word to PDF conversion via a VB.NET application?

Anyone know of any cheaper options that will do a good job? I tried a couple of cheaper RTF to PDF convertors, saving the Word doc as RTF via the app but the PDF they output lost formatting on Word tabs, table of contents, page numbers, etc. Not good enough.

Otherwise, I will have to tell the app users they will need to convert the Word doc to PDF themselves (unless they have Word 2007 and pdf add-in which I can probably offer as an option).

View 4 Replies

Set Variables To 'Nothing' Is A Good Practice?

Jan 27, 2011

If I got Dim myRect As Rectangle = New Rectangle(0,0,100,100)Is it necessary or just fine to later do this: myRect = Nothing Or it isn't necessary?IF it is necessary, are there other cases it isn't for my variables?

View 2 Replies

VB Is Using Structures Considered Good Or Bad?

Oct 10, 2010

I use to use Structures quite a lot in the VB6 days, and try to avoid them now with .NET. Just wondering if using structures in 2010 instead of a Class is considered nasty?

View 6 Replies

VS 2008 Is Good For A ListView?

Dec 26, 2009

In my VB6 project I had eight list boxes in an array. I was able to create a command to move to the next listbox by adding one to the index. I was able to move to the next selected item in the listbox with a command also.All the data in my arrayed listboxes: I was wondering if I could put into a ListView with multiple columns in VB2008 (each column would have the items from the listboxes mentioned before).

If they were in a ListView, would I be able to work in each column by moving to the next item with a command like I did before, and then move to the next column of items with a separate command?

I was thinking it would be easier to do that than array all those listboxes again.

View 1 Replies

What Are Some Good Websites For .NET Tutorials?

Mar 15, 2012

Does anyone have any good .NET Tutorials? What are some good websites for .NET Tutorials? Sorry if this is in the wrong section. I don't know enough about .NET to ask in the right section.

View 3 Replies

Mds - Error "The CLR Has Been Unable To Transition From COM Context 0x3dc190 To COM Context 0x3dc300 For 60 Seconds"

Jun 8, 2011

I got this message because of a long process: ContextSwitchDeadlock was detected
Message: The CLR has been unable to transition from COM context 0x3dc190 to COM context 0x3dc300 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. This situation generally has a negative performance impact and may even lead to the application becoming non responsive or memory usage accumulating continually over time.

To avoid this problem, all single threaded apartment (STA) threads should use pumping wait primitives (such as CoWaitForMultipleHandles) and routinely pump messages during long running operations. I've poked around on the internet and on a forum, someone suggested to use application.doevents(). I did that and the messaged goes away. In an earlier thread a member wrote that using application.doevents rarely was used appropriately. Is my situation a proper usage of application.doevents or is there something else I should be doing?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved