Started Digging Into Worst Enemy SQL?

Aug 12, 2011

I've recently started digging into my worst enemy SQL. So far so good, was just curious how I would go about refreshing a gridview control which is tied to a sqldatasource. So you see if I wrote a new field in my database, how do I refresh the gridview to get that recent change?

View 2 Replies


ADVERTISEMENT

Make The Enemy Shoot Bullets?

Apr 13, 2012

I am currently making a game like the worlds hardest game but with a difference. I have made 9 levels so far and am doing the boss level and i cant figure out how to make the boss shoot "bullets".there are two types of bullets the boss can shoot bullet1 - moves in a constant speed to the left after being shot bullet2 - moves in a constant speed to the left after being shot and follows the player on the y-axis The boss only follows the player on the y-axis(I have done this)The boss only shoots bullet1 until his health is below 50 then he increases the rate at which he shoots and randomly shoots bullets between bullet1 and bullet2The only way to win this game is to collect coins which randomly appears in the map, after you get the coin you decrease the bosses health by 5 (I have done this)If the player touches bullet or the boss then the level restarts (I have done this)

View 5 Replies

Game Is Generating Enemy Bullets From Already Killed Enemies

Nov 26, 2009

I am creating a game for my class, it is above the level that I know a bit, but I have learned a lot from creating it.

This is how it it works:

-Every time a timer ticks a picturebox is created and displayed on the form, the picturebox is added to a collection. These enemies then move down the form

-My character fires bullets, and when they hit the enemy the enemy and the bullet gets disabled and removed, but not from the collection

-I have another timer that when it ticks, a random number is generated between 1, and the enemy collection count, so that a enemy missile can randomly come out of an enemy

This all works, but after the enemies are hit and removed from view, bullets still get generated from spots where the enemies once where, so to me that means that the destroyed enemies still remain in the collection.

If I try to remove the picture box from the collection I get an error.

View 3 Replies

Game Is Generating Enemy Bullets From Already Killed Enemies?

Nov 24, 2009

I am creating a game for my class, it is above the level that I know a bit, but I have learned a lot from creating it.My problem is that when my user (doctor) sends out a bullet and it hits the enemy (the enemies are generated into a collection), the picturebox is disabled and no longer visible, but that picturebox spot in the collection for all the enemies is still there.

So when I generate a bullet and shot it from a random enemy in the enmCollection, sometimes that random enemy is one that is already been killed.I tried using enmCollection.Remove(..) whenever the collision with the enemy and a bullet occurs, but it gives me an overflow error or another error.

I've been trying for a day now.Everything in the game works correctly except for this.

[Code]...

View 2 Replies

VS 2008 - Protect Objects From Enemy Trying To Capture In Game

Jul 25, 2009

I am making this game where you have to protect objects from the enemy trying to capture them. I have a loop where a number is randomized from 1 to the current level the person is on. If that number is 50 then a new enemy is created and sent out to get an object. But my problem is if the level is getting higher and higher then the game will get easier and easier. I want it to get harder and harder.

View 8 Replies

Getting Started All Over Again?

Jan 4, 2010

Waaaaay back in 2003 I took a course called "Programming with the Microsoft .NET Framework (Microsoft Visual Basic .NET)" Then I attempted for the next year to get approval to take more courses, failed, and eventually gave up. Now, I'm being asked to write applications using VS 2008. I have, of course, forgotten everything I learned 6+ years ago, plus I'm sure things have changed. Plus we still don't have money for me to take any courses. my question to you is: can you recommend a free website, or a book I might find in my local library, that will give me a kick start into writing VB windows applications (database driven) and/or ASP.NET applications (also very database driven). I'm proficient in VB 3, 5, and 6, along with ASP classic using VBScript.... I just have forgotten pretty much everything I once might have known about .NET.

View 6 Replies

Getting Started On A Mac?

May 4, 2010

im new to this forum and to VB.NET, however over the next year I think I won't be getting a placement so I want to get as much programming experience as possible. I would basically like to learn VB.NET. Does anyone know a good site to explain its concepts and a compiler for it, which is compatible with a MAC.

Im sorry if you think this is a waste of space for asking but I'd rather download something recommended by people who frequently use VB.NET.

View 4 Replies

Getting Started With .net

Jun 8, 2011

btw any tutorials out there on how to create database with vb.net with mssql just to let me get started, i was hoping for a simple db to practice on like id,name. ive made db with php and mysql but vb.net is a bit far from php and mysql though the concept is the same..

View 5 Replies

Getting Started With SQL?

May 24, 2009

anyone know of any sites that give information about how to setup and test with an SQL application? I'm having a lot of problems working with SQL.

View 4 Replies

Get Each New Process What Is Started?

Mar 6, 2010

I want to know if there is a way to get each new process (what has been started) in a real-time manner (instantly). I tried until now something like:

1. Getting the number of opened/running processes

2. If the number is different from the previous check then the program is scanning each process (what is running) using a timer, each process has assigned its "pid" (using array) -- so if there is a new "pid" the process will be scanned -- else the process will be skipped. (scanning: getting its "object" path and creating a md5 signature etc.) This is working but is inefficient(very)...

View 3 Replies

Get Started With VB Databases?

Feb 5, 2010

What control(s) do I need to use and how do I use them? I am ,looking for tutorials and sample code too.

I'm working on a trivia game where the admin can remove and add questions to a database. [code]...

View 2 Replies

Getting Started With .Net 2008 From VB6?

Jan 26, 2009

I have been developing with VB6 for about 7 years now, and I think it is time I move on to VB.Net to future proof my skills.Not only that. I am learning C++, but that is beside the focus of this post.Anyway, So I installed the VS 2008 Professional, I didn't install all the Windows Mobile SDK stuff, Just Visual Studio, MSDN, and the sql server...

I do a lot of work with HTTP requests from within my applications, like building GET and POST requests and returning strings that are parsed and what not...I was using the winHTTP COM object in vb6 for the longest time, and I loved it... It was structured nicely and when Dimmed "with events" opened up a nice way of implementing progressbars, calculating download speeds, etc etc...

1) What is the .NET alternative of the winHTTP COM Object...

2) How do you dim objects withevents globally across a form class?

In vb6 I would dim my winHTTP object at the top of the form with events, and then I could implement all my progress bar code in the winhttp events that are exposed....Also then in each subroutine you then have to set = new winhttp.winhttprequest to create the new object, blah blah blah...

View 1 Replies

C# - Getting Started With Matrix3D (Silverlight)?

Jul 9, 2010

I need to figure out a way to project pictures in Silverlight (<Matrix3D/>) based on some predetermined variables that I have available to me.I have a need for the following projections:

Isometric
Orthographic
Oblique
Perspective

So, I have a number of variables provided to me like X, Y and sometimes Z. For example, this -

Type: Orthographic
X: 70°
Y: 10°
Z: 20°

somehow turns this -> into this -> and

Type: Isometric
X: 314.7°
Y: 35.4°
Z: 299.8°

into this ->

I have other information, like the coordinates of where the picture appears on a canvas, it's width/height, etc. if that information is useful too.

View 2 Replies

Does Anyone Started To Work With 2010

Sep 7, 2010

Does anyone started to work with VB 2010?. I have to migrate an application from VB6 to a new language and I've decided that I will rewrite the application on VB 2010. Well, I am here in front of the new flash 2010 and I have no idea where start. ja!

View 8 Replies

Get Started Reading Code?

Oct 6, 2011

I want to know if there is a way where i can view the code that my computer sending threw the cpu so i can learn it is there a program i need to so this

View 3 Replies

Get The Newly Started Process' Id?

May 7, 2009

How do you know if a process starts another process?And how to get the newly started process' id?

View 4 Replies

How To Prevent Program Being Started Twice

Apr 8, 2010

I have a small problem with my application. When the system starts up, the program starts with it, but runs hidden (registry key with paremeter). The program also has a GUI.I want it so that when the user clicks the desktop icon, it does not start a second instance of the executable, but instead reveals the currently running background process. Is that possible?i.e. when the application is started with the "-startup" paremeter, it loads a hidden form2, and closes form1. When the desktop icon is clicked, it loads form1, while form2 remains hidden.

View 4 Replies

How To Stop Download Once Started

Feb 4, 2011

I created a form which,through the input of a URL via a textbox, downloads a file from the internet. For example I write in the textbox [URL] and after I hit the download button the software starts downloading the file (the progress is shown via a progress bar). What about if I want to stop the download before the download is over? How can I do it? What should I write in the "Stop" button?

View 6 Replies

IDE :: App Dies With The Started Process?

Nov 11, 2010

whenever i start my app and let it start a process, and the process dies or gets killed my app goes down too. but this only occurs when i'm debugging, not when i run the program

View 2 Replies

IDE :: Getting Started With A Windows Service?

Aug 19, 2009

I'm new to Windows services, so I may be doing something stupid, I have created 1 before though so I'm not completely in the dark. I'm creating a new Windows Service project from the template, following an MSDN article on how to do so (cross referenced with serveral others). Acording to it the template should be setting up a region " Component Designer generated code " which should contain code. However the entire contents of the code page is:

[Code]...

View 2 Replies

Know If And Which Program Started Own Application?

Dec 4, 2009

I'm having troubles finding a way to retrieve informations about which program started my own application. The situation is this: I have a VB .net application which launch another VB .net application (both made with the .net framework 2.0) using process.start(), the second application need to know which software or process started it, if it was started by another software and not directly by the user, and I can't access to the source code of the first application so there's no way I can send a specific command line to the second application.

View 2 Replies

Started A Program With .NET Framework 4.0?

Feb 8, 2012

I started a program with .NET Framework 4.0 .. how can I change .NET Framework to 2.0 ?? ..

View 1 Replies

Test If A Process Can Be Started In Vb?

Jun 24, 2011

I have searched the www but so far cannot see how to do it. Perhaps via a try/catch statement?

How can I test if a process can be started in vb before actually starting it, e.g. when I use process.start("<name>.exe") ....

but before doing that I would like to make sure that it will be callable.. is this possible at all? maybe by using some kind of My.Computer .FileSystem .FileExists ("<name>.exe") statement?

View 5 Replies

VS 2008 Getting Started In The Right Direction?

Apr 5, 2011

I have a project that needs to open a CSV file that is 3.7gb in size. It is data that was exported from a database (why on earth anyone would export it to ONE file, is beyond me)

Excel/Access can't open the file because it is more than 256 columns and greater than 65000+ rows. I was able to split the file into seperate files with 50,000 rows in each. I wan't to automate this and export only data by a specific state, and perhaps add it to a database or excel file, should the rows stay below the limit.

I found a project that splits the CSV file... perhaps I can just parse the data while splitting the file.

View 11 Replies

Ave And Re-open Tabs When Web Browser Is Started Up Again?

Dec 31, 2011

I am building a web browser with tab control using VB 2010. I have everything working good so now I want to have it save the browser tabs when I shut down the browser and have them re-opened when I run the browser again like Chrome or Firefox would do.

View 2 Replies

C# - Getting Started With Speech Recognition Programming?

May 17, 2010

So, you've all probably seen Iron Man where Tony interacts with an AI system called Jarvis. Demo clip here (Sorry it's a commercial).I'm very familiar with C#, C++ and Visual Basic, but I am unsure what options I have available for me to program something like this. Ideally, I'd like to have it assist me while working on some projects by automating a few things.

After doing a bit of research, I saw that a lot of people where using apple script. Well, I'm a windows developer and I work on windows, SO, that won't work.Microsoft has a Speech SDK, but I hear that I can't program it to learn custom words... as in it just uses it's standard library. Is this true? What are the other limitations of speech recognition with the SDK? Is there something else then?

Also, which language would be better to use for a project like this? C# or VB?

View 1 Replies

Connect To MySQL And Get Started With VB 2005?

Jul 2, 2009

How do I connect to MySQL and get started with VB 2005? Been using PHP + MySQL in work for bout a year now. Just wondering how to get started with Visual Basic 2005 + MySQL. Just to connect to a database, and run a simple select star query?

[Code]...

View 1 Replies

Detect Which Executable Started Your Program?

Jun 13, 2009

I have a custom button in IE8 which starts up my program. Now what I wanted to do, was pass an arguement such as: 'myprogram.exe /ie'

From the IE8 button, and well my program will do rest from there. Now my program adds the button just fine, shows up fine, all that works. But each time i'd add an argument after my application path, IE8 would say it can't find the program. If you want to test this out, goto run, type in gpedit.msc, then 'User Configuration'->'Windows Settings'->'Internet Explorer Maintenance'->'Browser User Interface', and double click on 'Browser Toolbar Customizations'. And in the small window that pops up, is an option for adding custom buttons to IE. I was using this for testing purposes, since it was faster to edit a button here than in my program. When you add a button you choose the executable to link it to. But if you add any arguments after it, IE will simply not be able to find the program. Even if that same command works when you type it from 'run'.

So, now my question is, since apperntly you can't have any arguments in the button, is it possible to detect what executable starts your program? For instance, detect if iexplore.exe started up my program?

View 2 Replies

Ensure A Windows Service Is Started

Feb 10, 2010

I have a WCF service being hosted in a Windows Service (using techniques discussed here) and it works great. I'm now writing a (VB.Net) frontend app that needs to call that service, but I don't want my users having to fiddle around with the services snap-in and starting the service manually. Can I write some code to ensure the Windows Service is started, or start it if it isn't?

Edit: OF course, I can ensure the Service startup is set to automatic, but it doesn't need to be running all the time, and even then the frontend app still needs to be sure the service is running and start it if it isn't.

View 2 Replies

Get The Name Of The File That Started The Program (Click Once)

Oct 22, 2011

I have amended the application manifest of my program to launch it when a file with a certain extension is clicked. This works OK but I can't get the filename. Apparently CommandLineArgs are not available in a click once deployment and I have tried using the StartUpEvent command line as well but it seems to be empty.

View 2 Replies







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