Which Language Is Preferred By Most Developers Especially Targeting .NET & Silverlight?
Jan 25, 2010
Which language is preferred by most developers especially targeting .NET & silverlight? Is it C# or VB.NET?
Are there any advantages/disadvantages of both languages when compared with each other?
View 6 Replies
ADVERTISEMENT
Sep 30, 2009
I am not sure if this is the correct forum to post. I sometimes train Excel VBA. I would like to learn the language to a developers level. What relevant qualifications do Microsoft offer since I cannot find anything on their site?
View 1 Replies
Apr 18, 2009
At the moment, my current application is targeted for the Vista OS.I was wondering if there is a way to maybe use conditional logic or something else to target XP.
The tasks my program will do are depend ant on the file structure of the OS. As you all know, the file structure in Vista is different in XP.I thought that maybe I could do something like, If XP Then... Else If Vista Then..
View 3 Replies
Mar 19, 2009
I have a LOB app written in VB.NET with a WinForms front-end and SQL back-end. After many months weighing up how to get onto the Web, I decided last month to use Silverlight 2. Now, Silverlight 3 Beta is out, but there is no end-user runtime.
Does anyone know when the runtime will be available for deployment of SL 3 apps onto client sites?
My dev timeline is about 3 months: should I persist with SL 2 and then u/g to SL3, or jump straight in to SL3?
View 5 Replies
Oct 5, 2011
I have windows application in .net framework 4. I want to display PDF file in PDF Viewer Control. I tried to user AxInterop.AcroPDFLib.dll (provided by Adobe), but as my application runs on 64 bit, it gives exception at run time.
View 5 Replies
May 19, 2009
Is there a way to make VS2008 work with the old (vs2005 crystal reports) assemblies and not require any updates to be installed in the client machines? We have upgraded a Visual Studio 2005 .net 2.0 solution to Visual Studio 2008. The purpose is to take advantage of the IDE improvements and because it supports multi targeting. The solution still has to be built against .net 2.0. It all works as advertised, we rebuild and run it in a machine with only .net 2.0 installed.
But during testing we get an exception when we try to show a Crystal Report that is included with the application. Then upon review we find out that without telling us, Visual Studio changed the references to the crystal assemblies and pointed our solution to the updated versions that come with vs2008, which requires crystal runtime be updated on client machines. We did try removing the references and adding the old ones but it won't compile.
View 5 Replies
Feb 21, 2012
I was wondering how I would send a formatted vbscript block of code to the vbscript scripting interface for it to execute? I have tryed Windows script host but dont understand how to implement something like this using it.
I can run it using script control but I need an alterative method for 64-bit computer because i of the installer script that installs 64-bit components that only use the 64-bit version of scripting interface.
Even if its an idea with starter code i think i can build on that as long as you give me something to go on and explain your reasoning.Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - "Sherlock holmes" "speak softly and carry a big stick" - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering - Yoda
View 4 Replies
Mar 29, 2010
In my winform app in VB.NET I want to use the localization option. But i have a few questions/problems. I'm using a menu strip to select an other language. But it seems that is doesn't change my menustip text to my selected language. It does change my labels, buttons, and textboxes but menu strips don't seem to change when I choose another language. Also is it possible to get those resx files such as MyForm.fr-FR.resx compiled so it isn't an external file outside my app? Or to get those files in an Language folder at the same location of my app, so i don't have all those fr-FR & nl-Nl folders in the same location as my program?
View 4 Replies
Dec 6, 2010
why is it that we have a date and a datetime which are exactly the same thing, and is it preferred to use new Date or new DateTime?
View 4 Replies
Jan 28, 2011
I have an ASP DataGrid and I'm applying sorting to it. Well, as I was looking at an example, they had a function similar in function, different in name, to[code]...
View 3 Replies
Apr 11, 2009
make VBE add ins for Office using .Net?Detail:Using Visual Studio 2005 Team Edition targeting the .Net 2.0 platform with C#
View 4 Replies
Jun 11, 2012
This is newbie VB question. My son is learning VB and I am learning with him. We have RichEdit control application (non WPF), where we input text, formatting its Style (bold, italic, underline, etc.). Our next task is to save the text together with its attributes into the file. The question is: what type of serialization is preferred at this case?
View 3 Replies
Apr 12, 2011
I have 4 rounding options: None, Standard, Up, Down If they choose None and the number is 108.7879, I just want to display 108.78 with no rounding. I know I probably can use Math.Ceil for Up and Math.Floor for Down, but I am not sure what to use for None or Standard.
[Code]....
View 4 Replies
Aug 18, 2010
Say I have a Framework 4.0 project that is referencing a class library targeting 3.5. The project will simply not build. It won't give me any valid error message it will just act as though the reference does not exist.
Projects that were working like this in Visual Studio 2008 are no longer working in 2010. Took me forever to figure out what there error is. If I remove the project reference and add it back the intellisense lights up and you can tell a variable referenced in the class library is found. But as soon as you build the project everything is lost. My using statements get underlined, references to the variable all turn grey and project fails to build saying the class cannot be found. Once I make the class library 4.0 as well everything builds. I get the same issue between 4.0 client profile and 4.0 as well.
View 1 Replies
Mar 11, 2010
What reasons are there to migrate from vb.net specific language to .net framework language?
Examples:
VB.net
ubound
msgBox
.Net Framework
array.getUpperBound(0)
messageBox
View 4 Replies
Jan 31, 2012
I have adopted a technique where I pass existing objects to forms so that they can display the object's content and allow the user to alter it if necessary. The form is not bound to the object, so when it comes time to act, the form sweeps up the content of its controls and puts them into the object. The object is then validated and any issues reported to the user. If the object is valid, it may be handed back to the caller so the caller can refresh a view/list/etc.
So far, so good. However, if the form's content, or lack of, creates an invalid object and the user does not correct it, maybe cancelling the form, there's a chance the form will hand an invalid object back to the caller. This is not good.
Essentially I'm looking for an elegant and efficient way of either leaving the object as it was or rolling back if the user cancels the form/action.
I have considered a range of techniques, each with many pros and cons. I'm keen to consider some other views.
View 3 Replies
Aug 31, 2010
I'm looking for a method of generating unique identifiers for a record class being created locally and then persisted in various formats (XML, SQL, etc.) I've seen people using DateTime and GetHashCode, but that seems to lend itself to duplicate identifiers depending upon the sample size. GUID is a bit overkill, as I don't need anything that unique (large) at the global level. I'm also aware of using GUIDs and GetHashCode to get the size down a bit, but duplicates tend to crop up here as well. Any best practice or method for generating simple unique identifiers?
View 3 Replies
Jan 4, 2010
I have a situation in which I must execute a dynamically built stored procedure against tables that may, or may not be in the database. The data retrieved is then shunted to a VB.Net backed ASP based report page. By design, if the tables are not present in the database, the relevant data is automatically hidden on the report page. Currently, I'm doing this by checking for the inevitable error, and hiding the div in the catch block. A bit kludgy, but it worked.I can't include the VB code-behind, but the relevant stored procedure is included below.However, a problem with this method was recently brought to my attention when, for no apparent reason, the div was being hidden even though the proper data was available. As it turned out, the user trying to select the table in the dynamic SQL call didn't have the proper select permissions, an easy enough fix once I could track it down.First and foremost - is there a better way to check for a missing table than through catching the error in the VB.Net codebehind? All things considered, I'd rather save the error checking for an actual error. Secondly, is there a preferred method to squirrel out a particular OLE DB error out of the general object caught by the try->catch block other than just checking the actual stack trace string?
SQL Query - The main gist of the code is that, due to the design of the database, I have to determine the name of the actual table being targeted manually. The database records jobs in a single table, but each job also gets its own table for processing data on the items processed in that job, and it's data from those tables I have to retrieve. Absolutely nothing I can do about this setup, unfortunately. [code]
View 1 Replies
Aug 5, 2011
I need to add attributes to certain controls in a Windows Forms project. It needs to look something like this: [code] I can go in and edit the designer file to get more-or-less the desired effect, but those designer files sometimes come with the caveat that they are automatically-generated files. I'm worried that the designer might overwrite any changes that I make to the file. That said, is there a way to add attributes to controls using the designer or is there some way that I can add the attributes in a separate file?
View 1 Replies
Apr 23, 2009
I'm asking this question as someone who works for a company with a 70% to 75% VB.NET developer community. I would say 80% of those developers do not know what an OOD pattern is. I'm wondering if this is the best thing for the health of my company's development efforts?
I'm looking at the tag counts on:
http://stackoverflow.com/tags
There are currently:
12175 .NET questions
18630 C# questions
2067 VB.NET questions
[Code]...
View 20 Replies
May 23, 2010
Possible Duplicate: Should I learn VB.NET or C#? There are a lot of new .NET developers starting careers or school with little to no previous programming experience, or programmers moving from other languages like Perl.
View 6 Replies
Jun 14, 2011
I'm modifying an existing form in Visual Basic 2010 Express and attempting to work out some small kinks I've noticed. The one that I'm having an issue with is getting the form to completely fill the screen without the border going off screen. When I set the form's Size values at W:1024,H:768 the page always opens a little off. I tried setting the size a little smaller, W:1020,H:764, and it still does not perfectly fill the screen. Does the Size value include the border pixels or are the border pixels added to the form's Size value? Is there another value somewhere that could be affecting this?
View 5 Replies
Jul 9, 2009
My scenario is such that I have a VB.NET project in SVN and I am using the Application Framework to start the application. This poses a great problem when different developers are working on different forms and they want to have different startup forms. Right now if we change the project settings, its changed for everyone else too. How can we work around this? Can SVN have a class committed into the repository and later changes cannot be committed into it? (more like ignoring a file but with a initial copy in the repo)
View 2 Replies
Feb 16, 2010
What I'm Not looking for:Now, just to be clear, i'm not looking for VB6 to C#.Net content, as i know there are a few of those out there.Also, I know about that "syntaxconversion table" website, where it compares VB.Net to C# language features in a side by side table. I am not interested in this either, already know about it.I'm also not looking for a converter, which converts C# code to VB.Net and visa versa, i know there are a few websites which do this and already have the addresses.Finally, I'm not looking for a C# book or resource that caters to current programmers, but specifically to VB.Net programmers!
What I Am looking for:To learn C# (VS2008 or preferably VS2010 version) given that i already know VB.Net 10.0 (VS2010)... as there are many things related to .NET that i won't have to learn again if i can find something that will leap me from vb.net to c#, many bits of the CLR, how .NET works etc... since the languages are the same in what they do, and what they use to do them, i don't want to have to re-learn all this again. The only difference is really the syntax, but also how the C# language differs in dealing with certain things, what default expectations/behaviours are in various scenarios etc...
The set of differences and similarities between C# and VB.Net are so unique that neither of these languages likely could share this unique set/combination of differences and similarities with any other language. So my point is, it really needs to be C# for VB Developers oriented, otherwise it'll almost cetainly be inappropriate or a re-hashing!
View 5 Replies
Apr 23, 2009
What would you recommend as the "best" VB.NET and C# books for learning Design Patterns?eferably books that actually give examples of when to use the patterns. I need torecommend some books to a group of C# and VB.NET developers.
View 19 Replies
Aug 26, 2009
after a lot of work and late nights, I finally have something to give back to the VBForums community which has helped me so much.TwitterVB is a library for communicating with Twitter. It's 100% Visual Basic.NET and coded against version 2.0 of the .NET Framework. It is free, and it is open source.
TwitterVB contains a working implementation of OAuth, which allows your application's name to appear in tweets.I hope that this library proves to be useful to VB.NET developers who are looking to develop their own Twitter applications.TwitterVB can be found at http://code.google.com/p/twittervb
If you'd like to see a working implementation of TwitterVB in action, you can look at the Twitter client that I built with it: Quitter. Like TwitterVB, Quitter is 100% Visual Basic.NET. It is also free and open source. Quitter can be found at[URL]..
View 2 Replies
Jul 29, 2009
I am not sure if this is the correct place for this, but am using a custom control in a project that I want all the developers to have access to when they download the source.
Should I just add it to the project like a normal file? If so how do I reference it in the project folder? The other developers project folders might have different paths than mine.
View 3 Replies
Sep 12, 2010
UPDATED: Feel like this shouldn't be that complicated, but I think I just don't know the proper name for what I'm trying to do. I'm dealing with an ASP.net project. The concept is pretty simple: I have a library that supplies some ecomm functions. One class in the libary contains functions around calculating tax. One class in the library revolves around the cart header. This class is consumed by a web project.
[Code]...
View 4 Replies
Apr 18, 2009
Just curious ... for those whose main occupation is as a software developer what percentage of you had computer science degree vs. self taught?
View 2 Replies
Dec 11, 2011
I am in the process of creating a open-source project to track the Psychological Mood of a person, this application will be used by people visiting psychologists. People that are currently in therapy or want to keep track of mood changes. The program is based on CBT. To provide to the end-user the tools for him to be able to monitor his mood.To provide to the therapist additional information for the client through the automatic generation of graphs.I am looking for some volunteers to help me with Coding of the Project. I am doing the coding in Visual Basic 2010 and currently using MS Access 2007 as the Database. I have many plans to make this is a feature-rich application with the aim to help the end-user.
View 5 Replies