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


ADVERTISEMENT

Creating A New Programming Language?

Dec 22, 2009

I have made an application (similar to Logo) which can take some simple code and draw a line according to that. I have the graphics covered but I want to know a few steps towards compiling and running a programming language. A few specifications are: - Has built-in methods and variables

View 2 Replies

Game Programming :: Creating PictureBoxes During RunTime?

Jun 25, 2008

Recently I have been wanting to learn a bit more about Visual Basic and I've decided that I want to test my abilities by Making a Card game. The card game uses a customized deck of around 140 card. The Cards are all buildings which you need to place down by discarding a specific amount of cards in yoiur hand. The Objective of the game is to get 12 buildings built and get the most points. Many cards will be layed down at some point in the game.The way I think I will be creating the game is by Creating a Class for the Deck which will use a class for the Card. I would like the Card Class to somehow create a picture box of the cards image on the form which will hold all the other cards being displayed.

View 3 Replies

Game Programming :: Creating A Random New Point Within A Picturebox Bounds?

Jun 17, 2011

How do I go about doing this? I have currently made this code, but sometimes points are created on the boundaries of this picture box, which I do not want. I want all new random points to be within the bounds of this large playarea (picturebox). Foodarea is my big picturebox which i want all fruit to spawn WITHIN not outside on it's edges.

[Code]...

View 12 Replies

Game Programming :: Creating A Hangman Program Using VB 2008 Express Edition?

Nov 30, 2008

Basically i am creating a Hangman program using VB 2008 Express edition and need some help.I would like some help on when a user is entering a letter for the word how can i make it so for example if the target word is "MAX" and they enter "M" i would like the lblstatus to update as "M--" obviously i would want it to be able to do it with all 3 letters.

View 2 Replies

Game Programming :: Creating A Card Game For VP?

May 21, 2010

I am trying to create a card game on microsoft visual studio 2008. But i am finding it tricky to get the right codes for the generating button. The button wiill display three random playing card suites and when all three match the user is declared the winner.

View 5 Replies

Best Programming Language For Programming Windows Applications?

Jan 28, 2012

I have recently taken a liking to programming, and have programmed a few games in C#,my friend has asked me to program an application for him to use in his shop. But I have no idea of what language is best suitable?

View 8 Replies

Game Programming :: Programming Such As OOP ?

Oct 30, 2011

I avidly create games in VB.net. Being a hobby programmer I give my games away for free. Since I'm a hobbiest without formal training I do try and educate myself on proper programming principles and follow them when programming such as OOP. There are however some things I have obviously missed being self-taught that perhaps I would know if I were formally educated. Once such issue that has really been my bane is how different classes (from now on referred to as objects) 'know' about each other WITHOUT programming specific interaction.

Okay imagine this, you have a space game and the following objects

[CODE]...............

Now each one of these objects has a Health, X,Y and Z private members and properties that are all inherited from clsSpaceEntity for argument sake. Now one way of programming collision between them would be to code out the following logic in the main game loop

[CODE].........................

Now this might seam okay if your talking about the simple example above but some of my games have tens or even HUNDREDS of objects that interact in this basic way. Is there a way in OOP to do the following... for each thing that inherits from clsSpaceEntity check against every other object that inherits this type (except itself) and if they collide then reduce health next? This sort of ability for a type of objects/class or whatever to be 'aware' of another and how they are the same/different and interact would save me tonnes and tonnes and TONNES of coding.

View 1 Replies

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

.NET API For Music Programming?

Jul 6, 2010

In short words I am looking for a .NET translation of JFugue.Update I realize that there is no real .NET alternative for JFugue,Note: I want to emphsize that my search is on the transcription part, not the playing part, in other words, I am looking for a .NET engine that has MIDI-mapping classes etc.

View 5 Replies

C# - Parallel Programming In TPL?

Dec 2, 2010

im using tasks parallel library in .net 4.0 i want to have the ability to specify a task for each core independant of the other cores. usually in TPL, i create a task and i tell it to run in parallel, i have no control over the number of threads created nor can i control the number of cores to participate in the parallel task. also, i cant specify each particular core a different task.i'd like to know how to achieve this in TPL if it is possible.

View 3 Replies

How To Start With Programming In .Net

Oct 3, 2011

So far I have worked with C Programming and C++ Programming. I am fairly new to DOT NET environment and my current project requires VB.Net skills. I need to know

1)Which books to refer for starting with VB.Net language?
2)How to Start with VB.Net Programming?
3)Are there any forums/articles for quick head start.

View 2 Replies

Linear Programming With VB?

Oct 25, 2011

I want to use VB for linear programming. Can any one tell me the best approach or give sample codes.

View 2 Replies

Network Programming In VB?

May 1, 2012

I have done my application programming in VB. But now i am trying to do some application related to network programming. But i am unable to find the winsock control in Visual Studio 2010.

View 5 Replies

Parallel Programming In .net 4.0

Mar 31, 2011

I have been reading up on the parallel programming and even now still a little confused on the whole concepts. Lets say I have a single project with about 5 classes that interact and have local variables in methods and variables accessible to all methods in a single class and even 1 or 2 variables accessible to all classes accessed through instantiation. Now using threads I know that global variables would be overridden by multiple threads if there were no locking applied but local variables to a method/function do not, right?

So if I ran the project multiple times meaning as a new process, the methods and variables would be thread safe right and no data corruption occurs? So to implement parallel programming using the task factory, if I created a project that basically creates tasks and each task is basically running an instance of another project, then shouldn't the variables and data be thread safe and safe from corruption? But what if I had the output files and they named by Output & datetime.now.tostring, would there be conflict issues and I ask this knowing that I have seen this happen when trying it. [Code]

View 1 Replies

Programming - Or Vb 6.0 Idk The Difference

Aug 20, 2010

i was wondering how do you know if your programming in vb.net or vb 6.0 idk the difference.

View 12 Replies

Programming And The Language .net?

Oct 21, 2010

I have a general question about the programming language vb.net. I wonder how I should see the vb.net language compared to a "lower generation " language like for example C+.For example if you had to develop a CRM application , can you build such an application in both programming languages with the same amount of detail and efficiency?

Is it right if I say that the "language" vb.net is an abstract version of for a example a lower language like C+ in a way that the same possibilities are possible as with C+ but more efficient so it takes the programmer less time? So basically if you would compare it with building a house in C+ you would need to build a door with all the separate pieces while in vb.net you would just place a door as a whole. But this does not mean the possibilities of building a house as a whole are fewer.

So now comes my final question: can vb.net be seen as a true programming language like C and can somebody who masters vb.net be seen as an equally good programmer as somebody who masters C+. Or would the C+ programmer in this case be superior?

View 1 Replies

VB Programming Usually Im A PHP Programmer?

Feb 10, 2009

I'm new to VB programming usually im a PHP programmer, i am advancing fairy fast on the structure, theres one thing i have been stumped on[URL]..What im trying to do is when i put the detaisl in the fields, i press save and then am prompted to save with my own extension

[Code]...

View 2 Replies

What Is Programming Process

Aug 20, 2010

I want to know what is the programming process of Visual Basic 6.0 i.e how does the program compile, like in vb.net it is converted to MSIL, how does the programming process go in VB 6.0

View 3 Replies

Which Softwares For VB 6.0 / 8.0 / 9.0 Programming

Jul 16, 2010

I am a new visual basic learner and I already have some difficulties in finding the proper softwares to start my first programs. I will have to develop in vb6.0 and 8.0 (.net 2005) and 9.0 (.net 2008), what softwares do i have to use? From my search, I will have to use Visual Basic 6.0, Enterprise Edition (or another edition) for 6.0 programming, right? And for 2005/2008 vb.net programming, could I use visual studio 2010 for both languages or is that better to use visual studio 2005 and 2008? Well i guess i might be a bit lost in all those different terms.

View 6 Replies

Why Use VB Over Other Programming Languages

Feb 24, 2011

Why use VB over other programming languages?

View 2 Replies

.net - Programming Readability With Strings?

Jun 22, 2011

While working on a project I have come across a way of not having to check if a string isnull or empty

dim sb as new stringbuilder
dim bob as string
sb.append((bob & string.empty).padLeft(10, " "))

Here, bob is not instantiated but doesn't throw a null reference error. In situations like this, is it more readable to do the above code or the below code?

if string.isnullorempty(bob) then
sb.append(string.empty.padleft(10, " ")
else
sb.append(bob.padleft(10," "))
endif

I personally think method #1 is more readable and maintainable.

View 3 Replies

Address A Commandbutton Via Programming?

Oct 27, 2010

Dim obj As CommandButton
' I would like to do smth like this, the name of the button is in a variable
a = "Commandbutton1"
Set obj = a
obj.BackColor = vbBlack

View 16 Replies

Asynchronous Programming Using CallBack?

Feb 1, 2010

I have a class with a mthod which does a a time consuming task. I know how to start the method in a separate thread using the Threading.Thread class. What I want to do is use callback so as to have the method report its result to another method when completed. I chose to use the asynchronous Begin/End call pattern.

Private Function BeginConnect(ByVal URl As String, ByVal callback As AsyncCallback, ByVal state As Object) As IAsyncResult
'Some Code
End Function

[code]....

View 13 Replies

Asynchronous Socket Programming?

Feb 23, 2010

i'm creating an Asynchronous socket programming in vb.net. i've utilised the code from Asynchronous client and server code frtom the following links:m a new user so could post only one link fully)When I try to connect the for more than one client the second client always waits until the first clientcompletes the call. i want the clients to accept calls at the same time

View 1 Replies

Beginner Programming With If Then Else Statements?

Oct 8, 2011

I am trying to create a program that calculates the prices of different payment methods of a buffet.The program requirements are simple. The buffet start in 1/7/2011 and ends 31/8/2011. Payments methods are online, cash and coupon. coupon is only valid from 1/8/2011 to 31/8/ 2011. 1 child is free for every 2 adult that pay. There are different prices for weekends (sat and sun) and different prices for weekdays. [code]

View 3 Replies

C# - Area Of Focus In .Net Programming?

Mar 1, 2011

In an article in techrepublic about 10 tips to go from a beginner to an intermediate developer

one of the auther's suggestion was "try to become an expert in at least one area of focus" and learn advance idea in depth about that area. With this in my mind I have programmed for about a year mainly for database application in .NET envirnoment (VB/C#), Currently I want to focus or be an expert in at least one area of .NET environmt. As a resutl I had skimmed some area in .NET such as WCF,WPF, ASP.Net MVC ...etc (just reading an overview of different books). My current job . also demand on database programming mainly for desktop application.

So can you suggest me a list of areas of focus in .Net where I can delve on it beside my current job.

I am not sure whether they can be an area of focus I had some ideas such as SOA with WCF

MVC web application Database design and modelling

Edit @sajoshi I have some strength on data modeling and objected oriented design and mainly I like to work in domain modeling and object persistance with ORM tools.I have little interest on UI design.

View 6 Replies

Clearly VB Programming With Microsoft VB 2010?

Apr 16, 2012

i am stuck on chap 10 question 3,6,10, i dont know why they are giving me a hard time.

View 1 Replies

Communications :: G-code Programming In Vb?

May 26, 2009

I am trying to make a cnc program i have learnt a little about g-code i want to know how i can generate g-code from an image? Also how i can use this g-code in my program in vb to move motors?

View 1 Replies

Communications :: Programming LED Screens Using .NET?

Nov 24, 2010

for a test project that i'm doing i am looking for ways to program a LED screen. I ordered a few LED screens (320x160) that can be connected together). Using a special controlcard the whole thing can then display text etc. Using the software that a Chinese supplier gave me. All the above works fine. But I am depending on the software I have. I have VB.Net experience and I would like to put the software aside and write my own software. I would like to set up the COM connection and tell what LED to activate.

Problem i'm facing is that the chinese cannot provide me good use of the software dll files. I need a small Vb.net program that does the above. Would somebody be able to figure out how to do this.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved