Create A DLL And Use It?
Jun 14, 2009
how to create a dll in visual basic .net and use it in a other application. I managed to create a dll in VB.net and use it within a different project of VB.net But i can not use it in a different application, if i try to do a reference to the created dll nothing seems to happen.
View 3 Replies
ADVERTISEMENT
Aug 4, 2010
Hello I want to create a windows form application program that can create games something like Gamemaker or Klik & Play (butt less advanced) with D&D "Drag and Drop" events and actions.
View 7 Replies
Nov 30, 2011
To create a program that asks for input then uses an else statement to create a handling fee balance.
Input: sales record - first name, last name, purchase amount, balance before purchase
Output: report - full name, old balance, purchase amount, handling fee, new balance
Definitions: handling fee is 5% of the old balance if the old balance is less than $1000.00 else it is 2% new balance = old balance + purchase + handling fee
Processing:
Ask for and receive sales information
Calculate new balance
Print output report
End the program when a purchase amount of 9999.99 is entered
View 3 Replies
Nov 28, 2010
I want to create a class is it where I can do...
[code]...
How do I do this? Do i create a class and create a instance of CarData? but how do I add Color and Year etc to it?
View 3 Replies
Mar 3, 2012
I Want to develop a software like Yed.i just don know where to start.how we can create a workspace where i can drag and drop icons and create connection etc etc.
View 6 Replies
Apr 17, 2009
I have produced an application which works with datasets but I now wish to provide the user the ability to add and admend records within the database.But i wish to do this in a seperate form.My current dataset instanciates classes onLoad.Should i try passing the Dataset to the new form class? although I have the problem where by when i pass the dataset to the form class using code below i get this problem:[code]Should i just create a create a new connection to the database and produce a new dataset for this form? or is there a better way to do this?
View 2 Replies
Aug 28, 2009
I have create a CMS to upload all image to a folder using ed all my images to a folder using,
file.SaveAs(Server.MapPath("../images/") + advertID.ToString + "_" + i.ToString + fileExt)
Now, all images are saved and i forgot it create thumbnails. :(
I need to read all images at once and create thumbnails,
myimg = System.Drawing.Image.FromFile(imgFileName)
myimg = myimg.GetThumbnailImage(154, 94, Nothing, IntPtr.Zero)
myimg.Save(Server.MapPath("../Content/") + "Thumb_" + imgFileName, myimg.RawFormat)
I need this to function fast. I don't seems to know how to read these image names one by one.
View 1 Replies
Dec 1, 2010
I've designed my own encryption application in VB 2008 that has a free tools section where users can choose a particular wizard to use from the drop down. The javascript wizards display the code required to put in their own sites. I already created wizards that users can well, use.I see people have their own "contact form wizards" on their websites all the time. Where users can use the wizard and get the displayed code to copy and paste on their sites. But trying to locate source codes to these things is very aggravating on the web.So what I want to do is create my own "form wizard" like out of javascript, that allows the user to put in some information then get the displayed code to put in their own websites. I'm not looking for the generator such as the online form generators.But the javascript source code(s) for the generator itself.Then I could simply put a form generator inside of my VB-app, that will allow the user to use the wizard, then get the html code to paste in their own sites. Preferably not the PHP one because the php backend is very difficult to put in a VB app.I know that it can be done. For example copying a web pages source code then putting it inside a string, then calling that string from a button click that will open the javascript page in the webbrowser inside the VB app.
View 2 Replies
Nov 30, 2010
I have a project to do for one of my classes that i need help on. Its and extra credit so im left on my own. Project Create a program to allow a student to create there own schedule. what i am trying to do is create a checkedlistbox for the student to check classes they are taking, and need something else to pop up or to show in another box or listbox the classes they can take for the next quarter. I know it has to do with if then statements but i dont know how to write basically:"if (class is checked in checkedlistbox) then ( these are the classes you can take)".
View 2 Replies
Oct 22, 2010
I have used VB (versions 2 - 6) through many years; however, I am crash-course training myself into the VB2008 / VB2010 world kicking a screaming. I would like suggestions as to what SQL database access method should I focus more on in my learning process without making me feel that I'm a million years behind. I know I have WinForms where I can create a datasourse and drag / drop fields or tables on a form to create a grid (not really what I'm looking for).
My trouble isn't so much designing the form but in how I access the database. Theres XML, LINQ to SQL, ADO.NET, and many other methods. Not only do I need to grasp these methods quickly but I also need to know what type of projects I should create. What I mean is...I was thinking that I would design a WinForm app; however, I see that there are WPF apps and others to chose from. This is getting deep. I know it depends on the project that I'm working on. My plans are to write an app based off of either an SQL Express 2008 or SQL Server 2008 database. This first app will be standalone for now but may later become multi-user. I know I'm far behind on my learning curve coming from VB6. I have read a bit on VB2005 / 2008 / 2010. I own
both VB2008 and VB2010. I use VB2008 at work. I know ADO.NET is still alive but by what I read online, it's a dying method and is only kept for backward compatibility. XML and LINQ to SQL and other methods are all pretty new to me.
View 1 Replies
Feb 7, 2009
I am not a new coder, but i am not a know-it-all. I have been watching some of those NVidia fluid videos, and got jealous. I thought "Why can't i do it?" I'm not good enough for OpenGL or some other 3d engine, but i thought i would try it in 2d.
View 4 Replies
Sep 10, 2008
I'm in the process of trying to create a class that will allow me to create windows shortcut; Im using the following PDF file that gives me the shortcut file structure.
Ive been able to successfully load a shortcut file and parse its Lnk File Structure but now Im on the Shell Item ID List structure but I cannot find the Structure of the ITEMIDLIST anywhere
Furthermore I know I could use the Windows script object, but this is a dependency Im trying to avoid if I can, hence writing my own Shortcut class.
View 2 Replies
Nov 12, 2009
I just want to create an service which will on start read my XML file .It gets the number of parameters connected to PC. I just want to know that is it possible to create the timers at run time in my service and the timers should start at the same time but will having different time span to exicute means one timer will start after every one minute while another after 2 or 3 or whatever i set.
View 1 Replies
Feb 11, 2010
I have created reports that print on my printer via Visual Studio 2008/VB 2008 Basic code. I want to be able to send these reports to other people via emai. I don't care how its done, but it seems that if I could get the report into Word 2007 the problem would be solved. What are your suggestions to accomplish my objective.Terry 01
View 1 Replies
Oct 28, 2009
I am trying to create a VB.Net windows application that will list out IIS websites from a remote server when the user pushes a button as a means of verifying that a website got installed (from a previous section of the app...that part already works).I have googled all over the place and all I can seem to find is how to create a website or delete one, but not how to create a list.
View 1 Replies
Feb 8, 2011
Tell & interduce a pdf the full explain about file programming in vb.net(such as create , open in binary and .... , explain file stracutre and all)? a full article (most of the ways about file in vb.net)?
View 4 Replies
Oct 18, 2010
i am suppose to create "a windows form game called Yahtzis which uses five dice and three throws to create a score" .
The problem is that i don't even know how to start it can anyone shed some light.
View 2 Replies
Jun 22, 2010
how to write a code in vb2005 to create an sql database
View 2 Replies
Dec 29, 2010
If I have a large number of classes, each similar to the other in certain aspects (they all share a common base class, but each does things differently), and I need to create Windows forms for each to allow easy changing of their values through a GUI? Create one matching form for each object in VS' forms designer, Or Use code to create the forms dynamically at runtime.
#2 makes the most sense to me, because a lot of these objects will share very common features of the form, notably "Ok" and "Cancel" buttons. But one object might need to draw a textbox on the form while another might need to draw a combobox. Not to mention, if I want to put icons on the "Ok" and "Cancel" buttons, I'd have to do this for each copy of the form in designer, and that sounds like it could get out of hand quickly.But is drawing forms through code sane? VS' forms designer is pretty sophisticated and designed to make life easier. Am I wise to consider ignoring its functionality and diving into the trench warfare of forms design through code? Or are there examples of automating form creation based on an existing object's properties?
View 1 Replies
Jun 28, 2009
I created a SQL database using the migration tool.I am converting my access forms to VB.net (VS2008).I am wondering if I create a single dataset in studio to the database or do I create a dataset for each form (query)? I am trying to determine what the best solution is. Many of my forms have drop downs that are populated using queries from tables.
View 3 Replies
Oct 9, 2009
does VBasic allow a MS Access Database DataSet create a Stored Procedure or will it only allow SQL Database DataSet create SP...
View 4 Replies
Jan 20, 2011
If I create a list for a TextBox:
[Code]....
I am able to only add controls that are of type TextBox. My question to you is, can I create a List to hold more than one control type or do I have to create a list for each control type?
View 8 Replies
Jan 31, 2012
I am writing an encryption application that requires a 64 bit key. I am currently using the following code to automatically generate a key.[code]...
View 3 Replies
Mar 5, 2012
I am attempting to create a VS2010 C++ DLL (named TstPrintIO.dll) and include it in VS2010 VB but its giving me an error so "Unable to find an entry point named 'PrintDb' in DLL 'TstPrintIO.dll'."
I tried to define entry point in the Properties-Linker-Advanced-Entry Point. But both _tmain() and PrintDb() give same result.
How do I define the entry point so I can correctly attatch in VB?
VB
Declare Function PrintDb Lib "TstPrintIO.dll" (ByVal i As Integer) As Integer
Private Sub MsgView_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
[Code]....
View 6 Replies
Feb 13, 2012
I have some code for encrypting via AES. Here is the code for creating the key[code]...
My problem is this: If I create a key with the password 'Test', encrypt some data, close the application, load it back up, create a key with the same password, the key is not the same as the previous key, even though I have used the same password.
View 2 Replies
Sep 28, 2009
I'm on a 64 bit and I gotta create an exe for 64 bit i think that I had to modify TargetPlatform. but I can't find it in proprieties.[URL]..
View 11 Replies
Sep 29, 2011
DLL I already created to understand what is DLL all about.
View 1 Replies
Jul 26, 2007
I have created a system (2 applications) that makes a pre-loader for a game. The game is compiled in a different language. The setup application (app1.exe) creates ini files that link the avi file to the avi player in the preloader application (app2.exe). The pre-loader for the game just allows a video to be played. After the video has finished playing, it uses process.start("game.exe") to start the game as normal.What I need is for my setup application (app1.exe) to actually create the pre-loader application (app2.exe) based on the user's input where they can select their own application icon and edit the assembly file info such as Title, Description, Company, File Version, etc. as simple string inputs.
View 4 Replies
May 25, 2010
Ok i have a Game Maker program i am making but i want it were if you click a button called publish it will create a exe with a timer and background image with code for the class like you were making it in visual basic.
View 3 Replies
May 3, 2010
What's com dll? How can I create a com dll using vb.net?
View 2 Replies