I was creating GTA SA save editer in c++ but due to less features in c++ I converted my whole code vb.net
Private Sub Save_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Save.Click
I recently completed my first book and am looking for a project to create. I want something simple that has a bunch of different features in it. Can anyone recommend a good project? I am going to try tic-tac-toe.
How do you set a location from source code? I tried : button.Location.X = button.Location.X + 10
I have just converted my c# code to vb.net. And it is giving exception.c# code :private static short[] muLawToPcmMap;decoded[2 * i + 1] = (byte)(muLawToPcmMap[data[i]] >> 8);vb code :decoded(2 * i + 1) = CByte(muLawToPcmMap(data(i)) >> 8)Exception :Arithmetic operation resulted in an overflow.
I had a code for getting the hdd id written in vb.netNow I need to re-write the code into c#. I have converted the vb.net code to c# but it is not compiling.Below is the vb.net code
Dim hdCollection As ArrayList = New ArrayList() Dim searcher As ManagementObjectSearcher = New ManagementObjectSearcher("SELECT * FROM Win32_DiskDrive")
vb Dim s As String = strContents '<a global variable) Dim currentPos As Int64 = 0 Dim endPos As Int64 = strContents.Length - 1 '// A dictionary, used to count the frequencies Dim characterCounter As New Dictionary(Of [String], Int64)() While currentPos <> endPos '//
[CODE]...
Gives this error: Value of type 'System.Collections.Generic.KeyValuePair(Of String, Long)' cannot be converted to 'System.Collections.DictionaryEntry'.
In interface-based programming we normally define a set of functions inside an interface, and use that interface as a contract between 2 or more modules.What happens when we need to add more features to the system?How do we handle such system evolutions ?
I am thinking of giving mono develop a try. I have some questions. Visual Studio 2008 Professional has options for creating controls and services. This is not available in Visual Basic 2008 Express. This relationship between the different editions, is there something limiting like this with mono develop? I figure since it's open source, everything is implemented like Visual Studio 2008 Pro.
Another question. Does anyone have experience with mono. Is it a production level serious environment for commercial work? Is there something I should know about it?
Any mono developer that has anything good or bad to say, please drop a post in here. I would like to get as much info as possible from vbforums. This has always been the best help site for me using Visual Basic Express.
The most important thing, to reiterate is if I can make Windows Services with Mono Develop and if it supports full threading features that are limited or not available in express.
As a last question, what is the story on managed directx for mono. On Linux, there is no such thing, so would you plan an opengl library to start with? or does that work out in a different way?
list of URL for the web pages requested by the user should be maintained. The user should be able to navigate previous pages requested by clicking on the links in the History list. On the browsers start up, the History list should be loaded to the browser.
I have a large .NET source tree (185 C# and VB projects, of which 60 are apps or websites) that i want to create a wix setup for. The general idea is to have 1 setup msi and to make each executable a feature, and to have each app be installed in a separate directory. like
%progfiles%/company/app1 /app2 /app3
[code].....
Some libraries are used by multiple apps, so the DirectoryRef would have to be pointing to multiple directories, and multiple DirectoryRefs (with different ids) would have to be pointing to the same directory (found directory alias trick), both of which seem impossible.I get the distinct impression I'm going about it the wrong way, or that I'm missing some deeper insight. (No suprise as my wix-fu is a full 3 days old)
Is there a way to disable visual basic 10 language features in VS 2010.our Dev team has moved to Visual studio 2010, but we still have to keep backwards compatibility with Visual Studio 2008. is there a way to disable the new language features to avoid any issues.
I even have it set up so I can filter through the DataGridView by sorting though a specific company in the database. However, now I want to link specific cells from the DataGridView to other VB features such as a text box and check box. I am a bit lost as to the coding. In the DataGridView, there are numerous columns that contain a check box and I need them to correlate to actual check boxes I have in the form. I can do it through binding the check box on the form to the data source and it works but if I run a filter or sort through the company, the check boxes from the DataGridView no longer carry over to the actual check box on the page.
i wanted to know what are all the GUI features available in VB.NET for creating a nice UI. The requirement is that, we have screens which were developed in VC++, and now we wanted develop the same screens from scratch, Is it just the way of Drag & Drop all the controls which were present in VC++ screens or something else is available there ?
how I can control the access of various modules of a program, based upon Active Directory group. The program uses windows authentication to avoid login, but the user ends up having to enter his or her password a second time in order to continue.
Public Function GetGroupMembership(ByVal username As String, ByVal password As String) Return GetGroups("LDAP:mycomp", username, password)
I actually found a fairly good pong tutorial on this site which I've linked to at the bottom of this post. I used the code as my base and I'm starting to implement my own new features. I'm currently working on making the ball move faster after each hit of the paddle, but I can't get it working! I thought it would be as simple as adding 1 to the 'speed' variable during the test to see if the ball has hit the paddle. Doesn't work! I also tried various other methods, including adding an extra timer to the form and having the speed increase a certain number every tick on the timer. Didn't work! Is there some special way that I need to reference that variable in order to manipulate it? Code below.
Private cs As New SqlConnection("Data Source=ANKIT-PC;Initial Catalog=mrks_analysis;Integrated Security=True") Private da As New SqlDataAdapter("select * from sbs", cs)
[Code].....
i used the above mentioned command to get data from db to my datagrid.
Currently the complete grid is editable.
i want that the Sno field to become non editable + and the rest rows i want a combobox from which user selects the data and which gets stored in db.
I have a service installed. I would like to install this service (but with different features) twice on the same server but cant as the second service recognises it as the first. How could i avoid this?
I like the new intellisense enhancements for finding members, however, there are 2 problems i have;
1) You can't resize the intellisense window when it pops up? This one is really annoying.
2) There seems to be a fixed font for the intellisense list? Why does it not match the rest of my code window like it used to? I've noticed the same with tooltips.
I am looking for a way to obtain some additional features on a treeview. Both, to show as to be able to input some data with a particular hierarchical structure For that on each node I need next to the nodetext a entrypossibility to input some data or to make a selection. This input possibility should be either a textbox, a combobox or a chechbox. An example of what I wisch is almost this article, except that the comment column is only a fixed text, and that I need there a input control like a textbox, or combobox.
I using vs2008/vb. I want to provide my users with the ability view files in a specified directory and allow them to drag-drop to e-mail. I don't want to allow them to delete files in the directory or to even change directories. Is there a way to restrict the filedialog boxes to not allow deletes and directory changes?
I made an application that requires you to log-in to be able to use the search features and profile. How would I write the code to be able to log-out without closing out the application and just return to the log-in page?
I used the unicode character manipultation features in my code under VB.NET 2003. Will the code still work on Unicode characters that have been added to the Unicode standard since 2003? I am aware that there have been some characters added to the Unicode standard for Persian text since 2004.
I need to get font features of a word like is font size of that particular word bigger than the normal size of whole pdf file and is this word bold or underlined etc.
which library [Open source or paid] can provide solution to extract such font features of the word in pdf file.
I have a ListBox which I add to from multiple other ListBoxes;Private Sub Add1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Add1.Click lstOrder.Items.Add(lstTraditional.SelectedItem)End Sub But I have 2 ComboBoxes and a CheckBox which I would together like to add to the List Box as a single string.In context, I want to custom make a pizza order by:
Type of Crust (ComboBox) Type of Sauce (ComboBox) Toppings (CheckBox)
And you click a button which sends these details to the List Box.
Is there any way to use the new dynamic features in the 4.0 framework like ExpandoObject in VB.NET without setting Option Strict Off? With C#, you lose type safety only with the variables you specifically declare as dynamic. But with VB, the only way I've found to use these features is with the old Option Strict Off trick that's been in VB.NET since the beginning. Without Option Strict, everything in the file is polluted with fuzzy typing like so:
Option Explicit On Option Strict Off Option Infer On
[code]....
what's the best way to still use things like ExpandoObject and mitigate the risk of losing all type safety? Partial classes?