How To Creating DataEnvironment In .net

Mar 18, 2009

In vb if i am adding data environment it shows designer file(.dsr) , i would like to know how to create data environment in as vb).is it possible in environment


Creating Array With Two Values Or Its Creating To String Index Which Will Take Value Later?

Dec 30, 2009

please tell me what is below code doing? is it creating array with two values or its creating to string index which will take value later? [code]

View 4 Replies View Related

Creating A Reg Key?

Oct 24, 2011

This is my first time so please be gentle. I hope this is in the correct place.Basically I want create a reg key that will effectively add a site to the trusted zone of IE.I have got so far and can create the key but I want it to create a REG_DWORD and not a REG_SZ. My code is:


I only have a very basic knowledge of VB but am trying. Basically I want to run a script that will add this website to the trusted site of users. We will have hundreds who need this and want to create a script to speed it along. I will be adding other things to the script as time goes on but this is the first step.

View 7 Replies View Related

Creating An Web API In ASP.Net

Jul 7, 2009

I'm looking to create an API for a website I have built. The API will be built in ASP.Net - probably using VB and will need to be consumed by multiple platforms including PHP. I've read a bit about REST vs. SOAP APIs and am confused about which route I should go. I also need some examples and frameworks I can use to get started.

View 5 Replies View Related

Creating And Using A C DLL For VB?

Jun 3, 2011

I am trying to learn how to create a DLL in C (using Visual C++ 2010) for use in Visual Basic (2008 Express). I am a novice programmer, so please bear with me. My objective is to learn how to do starting with a very simple function, and I foundC++.html This examples presented in that tutorial are for Visual C++ 6 and VB6. I know there are differences between VB6 and VB2008, so maybe this is why I am running into problems following this example. In Visual C++, I created the DLL as a Win32 project. The function is simply summing two integers. I put the function "sum" in the source file "dllmain.cpp."

View 4 Replies View Related

Creating DB Using ORM

Jan 8, 2010

Is there any C# .NET ORM that can create databases? It should be capable of creating MS + MySQL + PostGre + Oracle databases at least.And I don't mean tables or schemas, I mean the database only.I use nHibernate, but it can only create tables and schemas, and query/insert but not creating the database itself.

View 4 Replies View Related

Creating Your Own MSN

Aug 1, 2011

I am wanting to build my own version of MSN complete with server etc, I was wondering if anyone had any basic tutorials etc? I dont plan on making it open to the public and it will be purely for learning, just looking for something to do now that I have made my own version of paint, advanced web browser, media players etc... just looking for my next learning curve.

View 4 Replies View Related

.net - Creating A UDP Packet?

Mar 10, 2009

I'm building a simple udp lan chat application in and I'm wondering how I should split my packets. Each sent packet should have like an id, a username and ip address from where it's coming and maybe also a command part for like join or leave to update my userlist and a text message. I'd like to know what is the easiest way to put all this in a simple packet then easily split and access different parts from it when it's received. thanks.I'm using UDP since this is only in lan so i'm broadcasting to *.*.*.255

What I want to know is what would be the most easy and powerful way to format my packets so they include a username , an id, a command and a text message, then the user receiving it decrypt it to show only the message written by which user or if it's a command like join or leave to show the appropriate message of joining and add the user to the list for exemple.

View 2 Replies View Related - Creating A Doc File From .net Web App?

Jun 3, 2011

I have a web app, and I need to give my users the facility to download a ms-word .doc file. This file needs to be created dynamically, and should contain some bold text and a table.

I've come across this code, which builds a .doc file, and lets you download it:

Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim strFileName As String = "GenerateDocument" + ".doc"


...but I don't know how to make the text bold, or create a table. I'm sure there's a better way.

View 1 Replies View Related - Creating A Progress Bar?

May 31, 2012

What im looking to to is in my web application build a progress bar similar to that in the window.form controls.

View 1 Replies View Related

Best Way For Creating Quiz

Jun 21, 2010

I would like to create a quiz and wonder what is the best way.

1. Using a textfile to read in the questions/answer
2. Using radio buttons
3. Or something else you suggest?

View 2 Replies View Related

C# - Creating Own Exceptions?

Oct 24, 2010

I'd like some advice on building in known errors. Let's say I have a Windows form that needs to set the source path of an image in an object. It must be:

A valid path
An image


View 3 Replies View Related

C# - Excel Not Creating?

Mar 31, 2010

i am trying to run the following code :

Excel.Application xlApp;
Excel.Workbook xlWorkBook;
Excel.Worksheet xlWorkSheet;


View 1 Replies View Related

Creating A .exe File?

Jan 6, 2011

notepad file means that is used for .java file and .txt this files should be converted into .exe file using the, if its required software is not installed in any pc, that file will be opened without its installation s/w....I know this is used without the code.. creating a .exe file i hav to write a code..

View 2 Replies View Related

Creating A Big List?

Jul 20, 2011

I want to create a big list box that has lots of default values in many lines so they can then be edited later.Right now I have in my initializer:

Dim counter As Integer = 0
For counter = 0 To counter = totalNumber
listBoxThingy.Items(counter) = ("DEFAULT DETAILS TO BE COMPLETED")

with my list box called listBoxThingy and totalNumber a previously defined constant of how many items I want in my list box.yet when I try to run the code I always just end up with the first list value containing the text.Even if I put a counter=counter+1 it still only gives me the one completed value of my list box?

View 4 Replies View Related

Creating A Code In VB?

May 19, 2010

I am having difficulty trying to come up with the code logic for having program calculate three different runners scores and placing them as First, second or third place standings, dependent on their times (seconds).á

View 3 Replies View Related

Creating A Confirmation Box In VB?

May 17, 2011

How can I create a confirmation popup box into my Windows Form project? I use SQL Server Compact and Visual Studio 2008 Pro.At the moment I have some buttons and operations that delete selected rows straight from my database.

What I want to do, is have those buttons continue with the coded operation if the user clicks "OK" on the confirmation box.The box should be like the MsgBox, but with two selections: "OK" and "CANCEL".

P.S. I have several places to include that confirmation operation.

View 9 Replies View Related

Creating A Cookie

Jul 29, 2009

is there any way to create a cookie using

View 4 Replies View Related

Creating A CSV Reader?

Jan 18, 2010

Creating a CSV reader?

View 9 Replies View Related

Creating A Database On The Fly?

Apr 25, 2011

I'm trying to develop 2 companion applications.á One application will be a FileSystemWatcher service application that will create/maintain a database containing file metadata (file properties) from a specific folder structure on the user's C drive.á The other application is executed by the user which contains edit boxes pertaining to the metadata.á As the user enters data in the edit boxes, the code will execute an SQL statement which in turn will display a list of file matching the entered criteria.

I'm thinking about using Microsoft Access as the database since all users have it but I'm willing to use another database format as long as it something intrinsic to the Windows XP 64 bit system (i.e. I don't want to install another database application in order to utilize its database format).á So, do you have a suggestion on a database format?á Do you have some pointers or links, on how to create database file and tables on the fly?á Should I use DAO or ADO or something else?á I'd prefer to work in VB.NET.

View 1 Replies View Related

Creating A DLL 2008 That Can Be Used By VBA

Jun 21, 2010

I created a new class project. I added a new COM object.The .ddl contains a single Public Function and one Public method. The method contains one line of code, a msgbox.I have "Register for COM interop" checked in the Project>Configuration>Compile page.I have ComVisible(true) in the AsseblyInfo.vb file.I use RegAsm to register the .dll and the .tlbI have used RegAsm to create a .reg file and then imorted successfully into the registry. If I open Excel, and go to Macro I cannot add the .dll as a refernce. The exact message I get is "Can't add a refernce to a specified file".I can reference the .tlb file and the Intelisense works. However, when the Excel Macro code runs I get the error, "Can't find file".I don't really expect anyone to download it to solve my problem. But if you become as frustrated as I am, I thought it might help to see the actual files. Be aware that I enclosed the .reg file from the RegAsm process. You can view it by opening notepad first and browsing for it. Do not click on the .reg file as I think that might modify your registry.

View 2 Replies View Related

Creating A DLL From Project?

Mar 20, 2009

im trying to create a .dll called PDTKey.dll (for example) that will hold all of my applications Product Keys..and when the user inserts a Product key into the main searchs in PDTKey.dll to see if the Poduct key specified is there..

View 13 Replies View Related

Creating A EXE File?

May 7, 2009

Assuming i had written a program in vb 2005 than i wan to let other ppl on other computer use but they dont have vb 2005 installed .Therefore i would like to be advise on how to create a setup or exe file so the user on other computer can just double click the exe and install and start using the program i create in vb 2005 without installing vb 2005

View 3 Replies View Related

Creating A Label On The Fly?

Feb 22, 2010

I've no problem dragging and dropping controls to a form, but what I am trying to do at the moment is create a simple label and display it at run time. Since the form doesn't exist at compile time, it isn't shown as a member of my basic form in the drop down on VB2008 and, of course, doesn't appear before the program is run.No problem creating the label and assigning property values (size, position and text etc.)áin my program,ábut for some reason I cannot get it to display. Checked inherited properties such as visible and everything looks ok. No exceptions are thrown, all is well but the label never appears.Here's the code for display...label 2 is an existing visible label, a member of the form. Perhaps I am goofing in not making label3 a member of the form as well?

'place label near label 2
label3.Location = New Point(Me.Label2.Location.X + 20, Me.Label2.Location.Y + 20)
label3.Size = New Size(75, 75)
label3.Text = "here I am, Ma!"

View 3 Replies View Related

Creating A Log File?

Oct 19, 2011

Im new to programming and I'm having a problem with an university assignment.I need to control a pneumatic system through a vb app and i want to create a log in which I save all operations. I have a textbox_log and everytime something happens a new line in that text box appears.

I want that text box to save it self automatically in a txt file everytime a new line is written, but the problem is that I can only save the whole text box at a time! And i want to add just the new line to the txt file. Is that even possible?

View 10 Replies View Related

Creating A New Tab Page?

Sep 15, 2008

Okay, so say if the user wants to click on new search after one search. Just like in the torrent program it will create a new tab page with the search results.So, I want to be able to create a new tab page with the list view control and the same columns. How would I be able to do that

View 3 Replies View Related

Creating A New Thread

Jun 16, 2009

how come this throws an error:


View 3 Replies View Related

Creating A Oms Database?

Dec 5, 2011

In Beth Massi's Video How do I Create a simple Data Entry Form in Wpf? Video you use a Oms Data Base but it does not tell you how. Can someone please tell me how. Iam using Visual Studio 2010 In Vb code.

View 2 Replies View Related

Creating A Registry Key?

Jul 12, 2011

Im trying to create a register key at

HKEY_CURRENT_USER\Software\Microsoft\Windows\Cur´┐ŻrentVersion\Run to make my program run at startup (and no its not a keylogger ) i got this code but it just create a directory called "cur-rentVersion" (because CurrentVersion already exist)


View 4 Replies View Related

Creating A Sms Gateway?

Jun 21, 2010

i am working on standalone application to send and receive sms, but wan to create my own sms gateway.

View 1 Replies View Related

Creating A Sub Through Programming?

Apr 24, 2009

n a program i'm using i want to be able to create a box (done that) but pressing a button, but now i need to attach a sub onto it so i can interact with it, how would i do this?

View 6 Replies View Related

Creating A Tic-tac-toe Game?

Nov 13, 2010

i am creating a tic-tac-toe game, but i need to do it without the IEnumerator variable. how can i do that?

Private Sub newGameButton_Click(ByVal sender As Object, _
ByVal e As System.EventArgs) Handles newGameButton.Click


View 4 Replies View Related

Creating A ToolStripButton With A For Each?

Jun 17, 2011

I have a toolstrip in my main form, at the bottom. The main form has menus that lead to other forms. I am trying to get a button to appear on the toolstrip each time a form opens. My button creation code works. Here is what I have so far:

Public Sub buttons()
'Each form has a Me.FormClosing and MyBase.Load event that links to this sub.
For Each frm As Form In My.Application.OpenForms


I have tried using the Tag property to choose the form, but it hasn't worked.I have also tried using the My.Application.OpenForms property to open the form, but this also hasn't worked.I really don't fancy using loads of If Then Else statements to hide and show buttons that have already been created, as this seems rather messy.

View 9 Replies View Related

Creating AIO`s - (All In One) Application

Sep 29, 2009

I want to create a AIO (All In One) application.

Heres an example of what i want to do , lets say each line of text on this image is a button that opens the the program when clicked

Also imagine that the pic below is a "Windows Form"

I know i can open programs by using the "shell (Program location) " code , but in want to be able to upload this AIO to rapidshare etc. for others to use on other computers.

View 11 Replies View Related

Creating An App Using Arrays?

Apr 12, 2011

I needed to create an app using arrays. The goal of the app was to input a certain amount of points and display their level of contribution and any benefits they receive (for example: enter 500 points -> display "Gold level" and "Fieldhouse privileges, Parking at game, Football tickets"). I was supposed to use a loop and intLevel array to find the donor level that corresponds to the input amount, display the donor level using the strLevel array and using the strBen array display the benefits that apply to this donor.

What I was given:

Dim intLevel() As Integer = {50, 100, 200, 500, 1000}
Dim strLevel() As String = {"Contributor", "Laker Club", "Bronze", "Silver", "Gold"}


My app works, but my prof's comments on it were to get rid of the "+ 1" on the first "Do Until" loop, cross off the second Do Until loop and he just wrote "not quite" next to the bottom two lines.

So basically, I'm wondering how I would write code to search for the amount of points (without having to add the "2000" so it doesn't blow up on me) and matching it with strBen. To be honest, I don't understand why I am not getting points for this.

View 8 Replies View Related

Creating An Application?

Feb 24, 2009

I'm creating an application in wish to have 2 projects- one for GUI and the other for class implementations.(Its for the maintainabilty purpose i'm separating GUI and implementation.)I would like to call the class ct

View 2 Replies View Related

Creating An Application?

Feb 15, 2012

Actually I am facing issue in creating an application.I have created a project in but now my seniors are saying that the code should be in and it is taking hell lot of time for code conversion, designing and all other stuff.Actually I am not able to get all the functions and properties in ASP.Net since I had been working in ASP.Net for a long time.

View 11 Replies View Related

Creating An Auto-Run.exe?

Nov 5, 2009

I want to create a autorun program that doesn't need a autorun.inf file. Is there any way to do this?

View 3 Replies View Related

Creating An AVI File

May 17, 2009

I am creating a screen capturing software. I have no problems shooting screen shot, saving it as bmp, png, jpg, etc... But there is one problem - I want this application to create videos captured from screen. And so I set a frame rate, timer, and the timer shot screen shots. But - how can I convert a list of bitmaps into an avi file?

View 2 Replies View Related

Creating An Exe And Best Use Of A Class?

Aug 2, 2010

I have a project where I need to create an exe that will execute through a scheduler every five minutes The visual basic file will call a SQL Stored procedure, get values and then write these values to a separate database system (that is NOT SQL).

View 4 Replies View Related

Copyrights 2005-15, All rights reserved