Any Way To See All Of Code For A Project?
Jan 22, 2009I'm curious - is there any way to see all of the code for a project? I'm wondering how much VB does automatically for you in the background.
View 3 RepliesI'm curious - is there any way to see all of the code for a project? I'm wondering how much VB does automatically for you in the background.
View 3 RepliesI am coding an ATM interface for a VB.net project. I wish to use command buttons to enter the code, just like one would do so at an actual ATM. I am using 4 separate labels or text boxes (whichever is more convenient), to print the separate numbers to, once the command buttons are clicked by the user.
The problem I am having is that once the 1st button is clicked, it is continually being overwritten, by clicking a second button. I have tried making the labels or text boxes... enabled = False, but it is still overwritten when the second button is clicked. Is there any means of bypassing this problem and getting the first label or text box locked off, after the first click?
Is it possible to import a c# code that I have (which highlights lua syntax in a richtextbox control) into a vb .net project or convert it from C# to Vb9? I tried a converter but it didn't seem to work.
[code]...
What is the easiest/simplest way of finding out the number of lines in your VB project?
View 4 RepliesI want to make a project in which i only use dlls for any kind of work plz tell me how to make a dll i dont know how to make dll.
View 1 RepliesAnyone have code to accomplish this?
View 7 RepliesI have been working on them and adding to them for several months. Out of nowhere, one of the subs in my project is not recognizing updated code. I had a for loop in there that was acting funny so I changed something and noticed no difference. I messed with it for a while and decided to just replace everything in that sub with a simple msgbox and it still tries to run the code that was previously there. I have built the solution, rebuilt it, cleaned it, closed and reopened it, removed the bin and obj folders and restarted my computer several times. This is not a server program or anything dealing with IIS or anything like that.
View 4 RepliesProject running old code instead of new
View 2 RepliesCan I get access to the code of an application without having the Project Solution file? We had someone leave the company and we need to get to the code that they created. What we have are the following files:[code]....
I only know how to access code by clicking on the project solution file for an application but I'm not sure if there is another way to do it.
send me source code for any billing project
View 3 RepliesFind the COMPLETE CODE for the DynamicDataEntry project mentioned in Evangelos Petroutsos book, Mastering Microsoft Visual Basic 2010, page 239, theme "Handling Repeated Data Items".
View 2 RepliesI have an application which has been deployed in a setup programme, but have lost the original project setup code.The new versions setup project has a different 'Upgrade code' GUI in the setup project and therefore when you try and upgrade the product it throws an error saying that a later version of the product is installed!
Is there any way for me to retrieve the Upgrade Code from an installed version of the program so that I can amend the new installer to match the old program.The program has to be installed to 350+ desktops via active directory, so no answers with silly shortcuts that only work for a single PC please people.
i used to make object of paintdotnet class in my project i.e in vb.net on button press event
Dim m = New MainForm()
m.Show()
the form code of paintdotnet get called successfully meanwhile paintdotnet used to search for resource call Resources class file which internally call PdnResources class file and code below shows exception
PdnResources
{"Could not find any resources appropriate for the specified culture (or the neutral culture) on disk.\r\nbaseName: PaintDotNet.Strings.3 locationInfo: <null> fileName: PaintDotNet.Strings.3.resources"}
[code]....
if i used to run paint.net standalone then it works fine without any exception/error
I am having an unhandled overflow error whose cause I can not find. I get one of those "Sorry, this program has to be closed" errors. Is there any way that I can have Visual Studio highlight all lines of code that are not embedded in a try/catch statement?
View 4 RepliesI'm looking for a little help; I've tried everything. Here is a little section of code of a bigger project. What do I need to plug into the ? in the FillRectangleRectangle call to get this to work? I got the FillRect... example from MSDN, but I can't figure out how to call it correctly.
Private Sub PictureBox1_Click(sender As System.Object, e As System.EventArgs) Handles PictureBox1.Click Dim i As Integer Dim pt As Point Label1.Text = "=" & MousePosition.X & " Y=" & MousePosition.Y & " "pt = New Point(MousePosition.X, MousePosition.Y) For i = 0 To 117 If rects(i).Contains(pt) Then Beep()FillRectangleRectangle(?, i) End If Next i End Sub Public Sub FillRectangleRectangle(e As System.Windows.Forms.PaintEventArgs, ByVal i As Integer)Dim blueBrush As New SolidBrush(Color.Blue) e.Graphics.FillRectangle(blueBrush, rects(i))End Sub
i am a Microsoft Word developer and I sell Microsoft Office solutions, to companies. I am beginning to be concerned that my solutions are being copied - which is fairly easy.I am hoping someone can give me some advice about the best way to do this.I don't really have much of an understanding outside of Office VBA development - but have dabbled in .NET and VB in the past. Should I be buying Visual Studio - if so, does it matter if I buy Visual Studio 2008 or 2010 - I will initially need to convert some Word 2007. I have previously downloaded the .NET framework, and not sure how this relates to Visual Studio.
View 3 RepliesI've been using this article [URL]to add into my code the ability to compile code a user enters into a text box. I was wondering if anyone knows a way that I can pass in a variable that exists in yhe program that I have written. So the idea is in my program I have a variable, let's say a filename, that is used. The user of my program is writing their own program in a text box. When I compile the program they have written I want to be able to pass the filename from my program into theirs.
[Code]...
I'm using VB 2010 Express Edition(Registered) and after about a week of coding, the changes I write no longer works. Example, when I comment a line it still executes as if it wasn't 'commented'. Even my menus are not showing the right items.
View 9 RepliesI have some rather largish classes that I wrote in C# that I want to include in a Visual Basic project. How would I do that (aside from transcription)?
View 13 RepliesI'm currently starting work on my first windows service and I've encountered what I find to be a strange error. For some reason the compiler is telling me that a whole bunch of typical classes (such as Image, Bitmap, Graphics, etc) do not exist. For example, these simple lines of code, which work perfectly in a normal project, return a bunch of errors:
Bitmap b = new Bitmap(destWidth, destHeight); //Error 13 The type or namespace name 'Bitmap' could not be found (are you missing a using directive or an assembly reference?)
Graphics g = Graphics.FromImage((Image)b); //Error 17 The type or namespace name 'Image' could not be found (are you missing a using directive or an assembly reference?)
[code]....
have a line of code in my project that plays an audio file, however the audio file is .wav and comes in at a massive 255mb as it is the bleep test sound track..Computer.Audio.Play("C:AMSFTBleep_Test_AudioBleep_Test.wav", AudioPlayMode.Background)How, if at all can i use .wma or mp3?
View 1 RepliesThis may be a strange question and have no answer but I thought I would post it to see how you would go about doing it. I have a line of code:
Grade = Math.Round((Math.Abs(CorrectAnswers) / TotalQuestions) * 100)
Basically that line just figures out the grade no major code work there, what I want to do is execute that specific line with different variables without running the whole application and navigating to the point in the application which for this segment would be completing a 150 question exam, or coding some #temp page and running it from there.
I'm having some problem with VB project in visual studio 2008, when I open or create a new project in VB only code is displayed in the design tab but no GUI and toolbox is greyed out.
View 3 RepliesI am basically 4 weeks into my first ever programming class and we are working on a project for the game "Hangman". While I have struggled with everything for the past 3 weeks, I have finally cams across something I have no idea how to correct. I am getting a Null.Reference error in the following line of my
If Not strWordToGuess.Contains(strLetterGuessed) Then
Now this code was provided in my project files, it was dated 4/07, I am currently working in VB 8 express, I am thinking this might have something to do with it.
some idea to how to run VB project using Java.
View 3 RepliesSource code for setup of vb.net project application?
View 3 RepliesI'm sorry if this is in the wrong forum or has already been asked, but I'm having a problem creating what should be a relatively simple code for an Excel Project. Essentially, the code is supposed to check if a certain column has Y in it and then copy that entire row onto another sheet and then move on to check the rest of the original sheet. This version of the code seems to do everything but actually populate the cells with the information. Every other attempt I've made has ended with "Application-Based or Object Based Errors". I've worked on this code for a few days now and I just can't seem to get it right. What am I doing wrong?
Here's the code:
Sub PopulateNewSheet()
i = 2
Do While Worksheets("Main List").Cells(i, 2).Value <> 0
[CODE].................
Is there a way to import MS-DOS code into vb.net project and make it .exe out of .bat.
View 2 Repliesthis code was just working! but for some reason it stopped to work now. when i run this project the following code is supposed to execute but it does
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim xmldoc As New System.Xml.XmlDocument()
[code]....
Recently I retrieved code of my project EXE file. And it was almost same with 100s of errors. So my question is Is career in .NET is safe? And is our code safe? Can this be done with other languages?
View 3 Replies