VS 2010 .net Direct X Equivalent?
Jan 30, 2011
I Know there are a few things i can use for graphics but I want to start a simple game in vb.net. GDI is to slow for a game so What is the modern equivalent to Direct X 11. I know Microsoft released a managed version of direct x long ago but It seems Out Dated now. I've heard about XNA but on their website it says it is used for windows phone and the Xbox
Which is currently the best and fastest equivalent to Direct x for Vb.net ?
View 4 Replies
ADVERTISEMENT
Jul 26, 2011
I have a form with 2 labels on it, the first label displays the USB game pads name (once found) the second i want to display the button pushed, here's what i have so far:
Imports Microsoft.DirectX.DirectInput
Public Class Form1
Public _device As Device
[code].....
View 1 Replies
Feb 9, 2011
I've tried several properties of the application object in VB.NET but none seem to give me what the old App.Path did in VB6.Application.ExecutablePath returns "C:UsersPaulDocumentsVisual Studio 2010ProjectsFCL Manager 2011inDebugFCL Manager 2011.EXE"
View 17 Replies
Jul 18, 2011
I have this problem: I need to be able to catch changed in DOM elements in a page that I am loading in a Visual Basic webBrowser control. Normally in JavaScript in Firefox I would do something like this: element[0].childNodes[1].addEventListener("DOMAttrModified", functionX, true); where element[0] is the element that I need monitored and child[1] is the 2nd child for this element that has its text value changed which I need to catch when it changes, while functionX is the function/sub that I want to trigger everytime there is a change in element[0].childNodes[1].
[Code]...
View 1 Replies
Feb 15, 2011
I am trying to get the following VB6 listindex to work within my vb.net
setTheR CStr(payReq.ItemData(payReq.ListIndex))
But if i copy and paste that into VB.net it wont accept it.
This is what VB.net did with the converting of the VB6 to .net
strContract = payReq.Items.Item(payReq.FocusedItem.Index).Text
However, checking that value it returns the name instead of the index. While the VB6 code returns the value of 2311 (which is what it needs to return)
When i add items to the listview i do this:
Item = payReq.Items.Add(rsPayRequests.Fields("userid").Value)
Item.SubItems.Insert(1, New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing,
[Code]...
But that does not work with my listview in .net since that above is a listbox and not a listview. Is there an equivalent in .net for the listbox to have a custom index?
View 2 Replies
Jun 1, 2010
Is there an equivalent to Java Properties in VB. A Properties file in java is a place where you can save propeties for an application. So if an application looks at a file on a server (which could change) you could save to location in a properties file the if the location changes you just change the properties file. You do not have to recompile the program.
View 2 Replies
Jun 13, 2011
got this code from this site: [URL] public static void Send(String from, String to, String subject, String messageText).
SmtpMail.Send("mcb@mindcracker.com", "webmaster@mindcracker.com", "Subject", "Message body").
what's the equivalent code of this in vb express 2010.
View 4 Replies
Oct 18, 2009
I am developing a web site in Visual Basic 2008 using .NET Frameworks 3.5 on an IIS7.0 web server and I am having a problem with a simple error page redirect. Furthermore I only have ftp access to the webserver in a web hosting environment. I am having problems with some errors and not others, mainly error 401 is the problem.<customErrors defaultRedirect="~/Default.aspx" mode="On" > </customErrors> this is the custom errors section of my [URL] file,
View 1 Replies
Aug 26, 2011
I've d/l the DXSDK Jun10 version twice now and run the installation but I still can't find any reference to Direct Music (or even directx) in add reference. So how do you use direct music in VB.Net and W7?
View 6 Replies
Jun 12, 2011
What's the equivalent method in .NET of the Picture1.Scale (0,0)-(10,10) method in 6.0?
View 2 Replies
Nov 24, 2010
How do I direct help from MS support on line?
View 1 Replies
Sep 14, 2009
How would I draw a Direct 3D Line in VB?
View 1 Replies
Aug 4, 2009
[code]...
In this case, children includes all the Parent elements and all of the Child elements. What's the best way to grab only the direct descendants of <Root>?
Should I write a LINQ query that selects elements where parent = <Root>? Or is there some built-in method I'm missing that can get this for me?
EDIT: I had some confusion between XElement.Elements and XElement.Descendants. As Ruben Bartelink pointed out, XElement.Elements will give me exactly what I was looking for.
View 4 Replies
Feb 16, 2010
I have an account in rapidshare. How can I get direct link from rapidshare link in vb.net?
Sample : [URL]
Direct link is : [URL]
View 2 Replies
Nov 20, 2009
I have a new mac with a windows partition. Have been using for a few weeks and all is well on both partitions. I m now trying to install Cad on the windows side, but it says i need direct3d. I have no idea how to install or what i need to install it.
View 4 Replies
Oct 9, 2009
I have developed a custom DirectX UI library equipped with everything from buttons to a gridview. I need a screen-layout editor of some sort. It just takes too long to do it by hand, whether through a config file or hard-coding. I could spend a month or two developing a DirectX editing utility, but I don't have a month or two to spend on this. I could possibly justify a week.
Some requirements:
I need to be able to create a new screen I need to place controls such as buttons, textboxes, and containers/windows/etc throughout the screen I need to adjust properties of these controls (Name, Text, Width, Height, Parent Container, etc)
Some of my ideas include:Using VB.NET's form editor... setting up forms and translating the form's control information into game screens.Setting up a web-based editor (seems like this would take more than week... wouldn't it have to be flash based?)Setup a VB.NET win32 editor that allows placement of .NET buttons, containers, etc that correspond to my library's buttons, containers, etc.Is there a best way to handle this?
View 2 Replies
Apr 15, 2009
here's my problem.. i'm using a gridview control, and then i put a select column on the grid. My questions are, how to retrieve the data on one of the field in the gridview and then it will direct me to the another page.. (see example below)
[Code]...
once i click the "select" on the gridview, I will direct to another page(ex, Default.aspx) and then at the same time the value on "LastName" field of the corresponding row which i selected will display on the another page(ex, Default.aspx)
View 3 Replies
Mar 9, 2010
i want to print my invoice direct the printer.my invoice have labels only. when users click the print button its shuld show the printdialog and print directly.i am using this code
HTML
Imports System.Drawing.Printing
Public Class cvn_Invoicefrm_3[code]....
i have only labels.i am getting values from database and assigning to labels.concept of this is the filled form needs to print when users click on button.
View 8 Replies
Nov 1, 2009
I am having trouble getting the total due for businesses to calculate correctly. Especially when I run the program and alter the amount of connections or the number of premium channels.
[Code]...
View 4 Replies
Jun 8, 2009
i use a webpage in my form. the webpage has a simple script used to upload a file.so the user selects a file then presses upload.after the file is uploaded the page is refreshed showing the direct link of the uploaded file.Now when this happens i want the program to 'extract' the link and close the bwoser control.
View 2 Replies
Dec 29, 2008
How to direct put (without someone key in) the data into the database with VB? The data will automatically generated by the program..
View 5 Replies
Feb 29, 2012
I'm trying to implement a grid based RPG style inventory (teaching myself by making a game keeps me focused ) and I have an array of "item" objects. Part of this array is a picture box, which I then lay out in code to display the inventory. how to detect when one of these picture boxes is clicked. However, I'm having a little trouble getting my head around the Directcast command.
When a box is clicked, I would like the function 'boardclicked' to pass over not only the picture box, but the whole object it is associated with it, so I can print these values out the screen (detailing the objects name, value etc) [Code]. As you can see, this passes the picture box element of the object, but I'd like to be able to pass the whole structure, so I can retrieve the other associated values.
View 3 Replies
Mar 17, 2011
What I need to do is link the EXE to a dll that is in another directory out there somewhere. But I don't want to use the assembly namespace. I want to be able to set the direct path to the DLL. So basically this is how its setup
J:\AppBar.exe 'The executable that will need access to the
C:\testdlls\EnvVarsPro.dll 'The DLL that the executable needs to be able to find.
So far I've come to the conclusion that the answer lays somewhere in the app.config file. This is what I've got for code...
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<!--<probing privatePath="root\res\applib"/>-->
<dependentAssembly>
[code].....
I believe this is setup write. The publicKeyToken is set to null because its not strongly signed and I'm not exactly sure what culture is just yet. But for whatever reason it just doesn't work.You can see a commented line that does work but only if the executable accessing the DLL is in the directory above root. In order to bring organization to my file structure I need to do it with everything kind of put away and not smashed into one directory.
View 2 Replies
Sep 12, 2009
How can i capture my input that is electric guitar using directsound through microphone port and can i detect the frequency of that captured sound?
View 6 Replies
May 24, 2010
I have a ASP.NET page called admin.aspx that needs to be protected from direct access. I want it to be accessed only when the user enter his name & password in another page called login.aspx I'm working in ASP.NET with Visual Basic .NET 2008, and I have no idea how to do it.
View 4 Replies
Feb 26, 2010
I'm making a VB.NET application with an SQL Server 2005 in the background. Naturally the user can not edit the database directly but will use a number of UI features to be able to add and modify the data.However, there are a few tables that should be easily accessible from the admin interface such as specific information about a vendor. What's the easiest way to let the user edit this data freely? One way would be to use a DataGridView but this could appear complicated to the user, plus I'm not sure exactly when to save the edited data back to the database.
The best way that I can think of is to create custom dialog boxes for adding, deleting and changing the information, but this seems like too much work for such a small feature.
View 1 Replies
Jan 29, 2009
ok got a excel export I need to down load.I must log into the site to get it, special not standard login so I can't automate that.But once I login, I can use a browser to download the file direct from a URL. Works great, but I need to make a program to do this download portion.
[Code]...
View 10 Replies
Nov 25, 2009
I am trying to use direct sound to play a wav file, so I may animate a picture box while the wav file is playing. I have made a device object and a secondary buffer object and when I run the program I get an error message(see attached image), but after I click continue, the wav file plays and it plays every time I click the play wav button. I am using a test project to work out the bugs before I implement the direct sound in my other project. Below is the the code I am using. Can someone tell me what I am doing wrong? The code needs a form named form1, and a button named xPlayButton.
[Code]...
View 1 Replies
Jun 10, 2012
I want to know if I can directly read or write values in the current process in a Visual Basic 2005 Windows application. Like *(DWORD*)(0x123456) = 1; in C++ will write the value 1 at the address 0x123456. So anyway to do the same in VB using only built in functions and not using ReadProcessMemory and WriteProcessMemory?
View 1 Replies
Oct 9, 2011
I know how do that but is it possible to upload direct from a richtextbox? Without saving the file. There is my code which doesnt work :
[Code]...
View 5 Replies