C# - How To Implement An Auto-pilot
Nov 30, 2011
I am working on building a texted based space game with .net I have a server and client where I am able to "move" around the map. The map is broken down by sectors, which each sector having a possibility of connecting to up to 8 other sectors around it (a grid with diagonal movement as well). This is stored in the sector class by an array listing the connecting sectors. Currently, all the sectors are stored in a List. When a move command is issued, the connecting sector array is checked and if the requested sector is found in the array, the new sector is loaded
View 2 Replies
ADVERTISEMENT
Dec 28, 2008
how to implement auto email in asp.net and how to create crystel report in asp.net
View 2 Replies
Oct 15, 2008
I'm trying to tie the AJAX autocomplete control to a textbox and pull the results from an sql database using VB. Anyone know how to do this? I found plenty of examples in c but I need to do it in VB. Here's code for C I guess but I can't figure out how to convert it to VB.
[WebMethod]
public string[] GetCountryInfo(string prefixText)
{
int count = 10;
[code]....
View 7 Replies
May 13, 2008
Over the past few months weve been running a pilot in these forums allowing you to submit bugs and suggestions to us directly. Weve learned a lot during this pilot and were enthusiastic about, and committed to, expanding our ability to take your feedback, and respond to it thoughtfully. By now you've hopefully seen our announcement about our plans to migrate these forums to our brand new forums platform. As a part of this migration were going to be closing down the bug and suggestion pilot program. Were going to take some time to analyze how well the pilot went, see what we need to tune up, and make sure that we build the right features into the new platform.
[Code]...
View 2 Replies
Jun 10, 2010
I am the CEO of Virtual American Eagle airlines. I am looking for some help on how to make an automated PIREP system. PIREP stands for PIlot REPort. What I need it to do is connect to my site, make the pilot login, connect to FSX (Microsoft Flight Simulator X) and FS9 (Microsoft Flight Simulator 2009). It needs to track: that the engines are off, the speeds or takeoff, climb, cruise, and decent. Then I want it to track the time that the wheels hit the runway, the time that the engiines go off, then automatically put it into a list and with the push of a button, send it to our site.
View 10 Replies
Jun 5, 2009
I am trying to just write something to a cell in a sheet and I am getting the error message:
Exception Exception from HRESULT: 0x800A03EC Stack Trace: at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
[code].....
View 2 Replies
Oct 12, 2011
All functions done, but the main function, the autorun and auto hide didnt work like i wish. for this keylogger, im using checkbox to make it autorun when windows startup and another checkbox to autohide. i already placed the codes but nothing happen. when i tick those checkboxes n restart my pc, nothing happen. is it because im using checkbox?
View 3 Replies
Oct 1, 2009
I am new to VB and am trying to get my webbrowser1 auto refresh on a web page every few seconds. Is there a way to program a button to do this? I am also trying to get the browser to auto select "yes" when a radio button is present and then auto click "yes" on a message box when it pops up. Any ideas where to start?
View 2 Replies
Mar 14, 2011
How to implement such a feature in vb.net??
View 3 Replies
Apr 5, 2012
We have a vb.net application where we have implemented multithreading. We determined that we need to either implement .net remoting or WCF. After researching remoting in .NET on MSDN, Microsoft considers remoting legacy for .NET framework 4.0 and recommends using WCF instead. My question is: can we implement WCF functionality into our VB.NET application or do we need to rewrite the app from the ground up in WCF?
View 1 Replies
Sep 1, 2010
I have a program that I would like to implement using Threading.I wand to load a form that takes a couple of minutes to open using threading.Here is my code
Imports System.Threading
Public Class frmAdjustments
Function LaunchForm() As Integer[code].....
I am new to .net programming and could use any suggestions you may have. I'm trying to grasp the concept of multithreading apps and would like to have both my main form (Adjustments) and the (frmNewAdjustments) form to load concurrently.Here is the error I receive with the code above: Overload resolution failed because no accessible 'New' can be called with these arguments:
View 3 Replies
Sep 3, 2010
How would you create an extension method which enables me to do the following (warning: exteme pseudo-code)...
class FooBar
{
Int32 Foo { get; set; }
String Bar { get; set; }
}
new FooBar().With(fb => new Func<FooBar, Object>(instance =>
[Code]...
View 5 Replies
Mar 13, 2011
This is just a Translation question. But how do you write a the following C# code in vb.net My problem is that i don't know how to rewrite the this part of the generic T. C# code i want to translate
public static void ShouldEqual<T>(this T actualValue, T expectedValue) {Assert.AreEqual(expectedValue, actualValue); }
[Code]...
View 1 Replies
Aug 7, 2009
I am implementing a tracing mechanism myself. Now what I'd like to know is what is the best way to implement this mechanism(I mean, the architecture).[code]But then I saw there is an TraceListener class that let's me implement Write and WriteLine methods. The big drawback is that both those methods allow only strings as arguments, and I'd want to be able to send a lot more info than strings. What should I do? Maybe my first ideia is the best?I do know there are a lot of tracing mechanisms like PostSharp and so, I'm just doing this for learning purposes!
View 1 Replies
Mar 9, 2012
My Questions are: Is is possible to implement a bitboard in vb.net? Tutorial/Reference to do bitboard in VB?
C# answers are acceptable because it's not that hard to translate.
View 5 Replies
Aug 4, 2010
In .net (c# or vb) expressions, how would you implement SQL's handy IN() functionality?i.e. value in (1, 2, 4, 7)rather than:
value = 1 or value = 2 or value = 4 or value = 7
There are obviously many ways, I'm looking for the most clean and simple!
View 7 Replies
Mar 12, 2010
What is the best practice for when to implement IDisposable? Is the best rule of thumb to implement it if you have one managed object in the class, or does it depend if the object was created in the class or just passed in? Should I also do it for classes with no managed objects at all?
View 6 Replies
Aug 7, 2009
I am trying to implement an interface defined in IDL, in a vb.net class here is the idl
interface IEmissaryRoot : IDispatch {
id(0x68030000), propget]
out, retval] IActivityCol** );
[code]....
View 3 Replies
Jan 14, 2012
i am using code to the value textbox2.text in the report and using the code like below [code]the textbox2 take various values in run time but when i run the code it display only the final value intermediated values are not displayed the whole situation is as follows.[code]
View 1 Replies
Aug 12, 2011
I would like to use regex for a txt file as follows. What I want to do is to get the whole text if CRC is other than 00000000. The content of the file below has 2 blocks of data below. And I should get the second one after the regex operation.
[Code]...
View 3 Replies
Jun 18, 2010
I guess Blowfish is not included in .net class library.how to implement it,,there are any sample code.? ive already try but still have a trouble to encrypt data without padding. [code] the original source from schneier that implement with vb6 we can encrypt data with or without padding.its mean we can encrypt data in 1 block that contents less than 8 bytes.
View 8 Replies
Feb 26, 2010
How to implement Blowfish in VB 6 and VB.net
View 1 Replies
Jun 19, 2010
how to implement DLLGetVer written in vb.net? I currently have tried the following code but when I try the fucntion, I get Unable to find an entry point named 'DLLGetVersion' in DLL 'msi.dll'.
[Code]...
View 4 Replies
Nov 23, 2010
how to implement dos printing from vb.net?
View 1 Replies
May 31, 2010
How can I implement the next vbs code in C#:[code]
View 11 Replies
Jun 22, 2010
[TEX]Hello[/TEX] How do i use truncate in vb 2008?my database its in Access and i want to implement a truncate table in vb but i don't know how to do it.
View 1 Replies
Apr 22, 2010
Can anyone help me with a way to implement typedef in vb2010, because I see it helpfull way to define types.
View 2 Replies
Jul 25, 2010
I'm trying to assign a datasource to a ComboBox control during runtime. When I do so, I get the attached message. [Code] I want to learn how to use an Interface. The error message is suggesting using an IList. How would I do this.
View 2 Replies
Jun 8, 2011
Is there any way to implement LinkedIN API by using C#,VB.NET.We need to call profile , companies ,Jobs etc API of linked in using mentioned technologies.
View 4 Replies
Feb 1, 2012
I am trying to implement map function in VB.NET and I have tried the below.
Function Map(a,f)
Dim i
for each i in a
f(i)
[code].....
But the above code is not working and saying alert is not declared.
View 2 Replies