Can't Find DynamicDataEntry Project Code
Jun 9, 2012
Find 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 Replies
ADVERTISEMENT
Nov 22, 2010
I am trying to update a Vs2008 project to vs2010. In one of my projects I have two controls. The controls are not being seen by the form when I open it up in design view. They are friend controls. (No code has changed since I opened it up in vs2010.) But it was running fine in vs2008.
View 4 Replies
Sep 9, 2009
Suppose somebody created a solution which contains many projects. How can I find the project types? I mean that how can I know whether a project is a library type or console application and so forth from IDE?
View 4 Replies
May 28, 2009
I am working on a WPF project in Visual Basic. In some textboxes I want to limit what the user should be able to type. The sub roughly looks like this:
Private Sub Intervall_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Input.KeyEventArgs) Handles Intervall.KeyDown
'Determine whether the keystroke is a digit from the digit keys on the top of the keyboard.
[Code]....
If the I type backspace or delete, keydown doesn't react, so these particular cases I've handled in KeyUp.
There are two problems with this code: The test If e.Key < Key.D0 only checks whether the user has pressed the key that contains 0 at the top of the keyboard. It is also possible to enter some other signs if the user presses shift, and this test doesn't discover whether the user presses shift. I therefore need to extract the actual character that the user entered, not only which key he or she entered, and check if this character is a legal one. This is easy in a Windows.Forms project; there I can use e.Keyvalue, but in my WPF project I don't get that alternative when I enter a dot after "e".
It's necessary to solve this problem in order to do the next step: The user should also be allowed to enter colon, as this textbox describes a time that an action should be performed. If I could check the content of the key pressed, this would be easy. The problem is that the test If e.Key = Key.OemPeriod returns true whether the user pressed shift or not, i.e. whether the user entered a period or a colon, which are on the same key on my keyboard, I don't know how it is on other standards of keyboards.
I have tried hard to find a solution for this on Google, [URL] and MSDN, but I haven't managed to find any articles or topics about this particular problem. Does anyone know how to do this in a WPF project?
View 6 Replies
Jun 21, 2010
I'm using Common Dialog in my project but I can't find the "Find and Replace" dialog there, how can I use that?
View 1 Replies
Oct 4, 2005
I am having a problem running an Excel/VBA program that has been working till this morning. The error I got when I ran a macro I wrote is: Compile error: Cannot find project or libraryWhen I check the references in VBA editor, I find the list of references to be different than when I ran it on another machine. I have some xla libraries on a server that I've linked to the application, and the libraries are being shared among my colleagues. I tried relinking the libraries but that didn't work either. Sometimes, I get another message saying the library is being used by another application.
View 10 Replies
Sep 22, 2009
In my project there are lot of variables, and some of them are not used at all.I want to clean up the code by removing these unused variables. These variables are not shown as unused when i build the application. The problem is with the global variables, and not with the local varible for a function .Is there a method to find these unused variables?
View 8 Replies
May 7, 2010
Does anyone able to advise on abovementioned error? Under Private Sub UserForm_
[Code]...
View 2 Replies
Aug 15, 2011
I've just converted a project from .net 1.1 to 3.5, and I'm being given loads of warnings in the error list. The program compiles and runs ok, but I think I should probably try to at least reduce this large number of warnings.The trouble is that the error list only tells me about the first 102 warnings. Even when I fix one, the number stays at 102. So I have absolutely no idea how many warnings there actually are. If there are 150, I'd like to get rid of them. But if there are 10,000, I don't have the time to fix them all.Is there a way to see the actual total number of warnings?
View 2 Replies
Mar 18, 2009
I am trying to publish a project. Via the publish wizard I have published the project. So I have:Project.applicationSetup.exeand a directory application files in which:Project.applicationProject.exe.deployProject.exe.manifest. When I start the setup it does it's thing (only one question: do you want to install ...etc) and 2 seconds later its done.
Problem:
1. I can't find the installation directory... (I can find the app in the 'add/remove programs' but not anywhere in program files or ..)
2. there are a few xml and mdb files I want to include in de project (or else the project does not work).
But because of (1) I don't know where to do so. Or beter yet, I would like to include these files in the installer.3. Why doesn't the installer ask me where I want to install?
View 5 Replies
Mar 7, 2011
i am trying to add a text file in Debug folder. But when i go to project tab to add a new item, there is no option to add a new item? What part of the setting needs to be changed? Using Visual basicExpress 2010.
View 1 Replies
Jun 21, 2009
The application must have basic functionality as to: Insert new customers into the database A search function will be needed to find a users criteria entered The more advanced features would include matching certain criteria with another for example if the data in field 1 is the same then it should match this and return the results. so for example if a person has a hobby of 'football' it will return all the people with the same hobby
View 4 Replies
May 30, 2006
I support applications in VB6 and VB2003, and I'm trying to upgrade the VB6 app to VB2005, so I have three versions of Visual Studio on my pc. I ran VS2005 and opened the VB6 app to launch the upgrade wizard. It seemed to run fine until it threw an error saying it could not find the project it just created. The project I'm trying to upgrade is called MGxFromSAP.vbp. The error said it could not find MGxFromSAP.vbproj. The project file it actually created is called MGxFromSAP.vbproj.vs7.vbproj. When I try to open this project in VS2005 it says it was created in an earlier version of Visual Studio and needs to be upgraded.Did it perhaps invoke the VB2003 upgrade wizard instead of the new one? How would I be able to tell?
Should I just let VS2005 upgrade the vs7 project or should I try to deinstall the old VS2003 upgrade wizard and rerun the upgrade from scratch?
View 8 Replies
Oct 6, 2011
About 3 years ago i came across a vb project for a photo album, it was on online tutorial and I followed it and after some custom tweaking I found it was quite usefull. Unfortuatly the original sourcecode has long since vanished.The project was fairly easy to follow and I remember the author had a photo image of his sailing boat and a yellow labrador (just trying to jog some memories here) :).
Anyway; I have searched high and low for it but can not find it. I'm pretty sure it was on a msdn or some other microsoft forum and was to do with VB 2005 or VB 2008 edition of Visual studio.
View 3 Replies
Oct 26, 2009
I need a code which search for me for the text in a richtextbox for a word I use Visual Baisc in Visual studio 2010
View 2 Replies
Jan 22, 2009
I'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 Replies
Mar 7, 2009
I 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?
View 2 Replies
May 20, 2012
I need my code to be able to read from the file to check that the username and password exist and that they're correct and then it'll log them into a customer details page where the details they entered at registration appear for amending/changing.
[code]...
View 2 Replies
May 26, 2009
I want to program a find and replace for text files
View 1 Replies
Jan 20, 2012
I was hoping I can make a program which can replace a hex code of a file if it match the code I'm searching in another file. For example, I need to find hex code "1F 7C" in file.ojs and then replace all the "1F 7C" with "E0 03" in test.bmp.
View 7 Replies
Feb 16, 2011
At my old job we used batchscripts to start macro's in another application. These batch scripts would also write data about the status of the macro as loglines to a log file using VB.
I have saved the batchscripts when I moved to another job because I always thought they might come in handy. However I forgot to save the visual basic script needed to create and fill the logfile.
The batchscript would look like this:
SET SP=C: est
SET LOGFILE=C: est est.log
cscript //nologo %SP%logging.vbs "Script executed by admin" >%LOGFILE%
cscript //nologo %SP%logging.vbs "Starting Loading Data" >>%LOGFILE%
View 1 Replies
Feb 5, 2012
I've been working on my A2 Computing project for the past few months - and was working on one form.My computer crashed (for some unknown reason) and subsequently the form no longer works.
I can open up the designer for it, and see all the declarations - but I can't open the source code.[code]...
View 7 Replies
Sep 9, 2008
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]...
View 7 Replies
Aug 7, 2009
What is the easiest/simplest way of finding out the number of lines in your VB project?
View 4 Replies
Feb 5, 2010
I 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 Replies
Jun 2, 2010
Anyone have code to accomplish this?
View 7 Replies
Aug 23, 2011
I 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 Replies
May 30, 2012
Project running old code instead of new
View 2 Replies
Aug 22, 2011
I am working on a function that returns an array of variable-length strings that have a certain starting and ending delimiter. The input to the function is a string. I am able to do this by using if-then statements with InStr(). I was wondering someone knew of a more elegant way. I tried using the split command but I am splitting on one delimiter so I don't really get the result. I could then parse from the results but I am back to the same boat with using InStr().
[Code]...
View 1 Replies
Apr 14, 2009
I have a script file which uses code similar to the C# language, using { and } braces to start and close 'blocks' of code. Note that blocks can be nested.[code]...
Is it possible to use regular expressions to parse the code and return the name of each block separately? So in the above example, it should return block1, block2 and block3 but NOT "block 2 contains" or "and another" (no nested blocks).
View 10 Replies