Add DirectX Capabilities To My Project?

Oct 30, 2010

I want to add DirectX capabilities to my project and I don't feel like messing around to learn WPF at the moment. How can I include DirectX into my project running VS2010 .NET 4.0. I know MS no longer supports managed code for DirectX but is there an API module or something I can get.

View 3 Replies


ADVERTISEMENT

.Net Program With COM ActiveX Capabilities?

Jun 9, 2011

I created a program with a textbox on it and a button that does something with the text in the textbox.How do I make that program COM visible, load it and automate it from another project?My goal is to be able to automate the program using COM:

Dim myProj as object = createObject("myProgram")
myProj.setText("Hello World")
myProj.buttonClickEvent()

Similar to how you can load a new excel and automate via interop:

dim xl as object = createobject("excel.application")
Dim wb as object = xl.workbooks.add
Dim ws as object = wb.worksheets(1)
ws.cells(1,1) = "i love stackoverflow"

How do programs do this? I'm looking for the answer VB.Net specific.

View 1 Replies

Add InkPicture-like Capabilities To Program?

Aug 5, 2010

I'd like to create a Windows form that allows a tablet user to enter a signature. I'd then like to capture that signature as a bitmap on the clipboard.

I've got some code using the InkPicture ActiveX control in MS Word Xp (2002) and it works marginally - I think the control is hobbled because of security issues.

Is there a .Net control to capture mouse/pen strokes ala InkPicture? I see some old WinXP Tablet stuff out there but the capability should be part of Vista+ which is my target platform.

Should I just be looking for a simple drawing form example that can scribble a signature then get the image on the clipboard for paste into a Word doc as a signature (the ultimate goal?)

View 9 Replies

Add Speech Recognition Capabilities?

Oct 14, 2006

I'm working on a program that needs Speech Recognition and every website says to download the Microsoft Speech Recognition Engine. I can't find that, but I've downloaded all the SDKs. Are they the same? And it always says to add a speech recognition component to the form, but I can't find where that is in Visual Basic 2005. I'm using the Express Edition, but I don't think that matters.

View 4 Replies

Cannot Set Capabilities Of Scanner Through Twain Driver

Sep 9, 2011

I have been working with TWAIN driver for few days. I have learnt how to connect to the scanner or get the working scanners connected to the machine. I am having a problem now, eventhough i get connected to the scanner, I am not able to set the capabilities from my application. The scanner scans using the capabilities that are set on it but not from my application. I have looked at the sample code given with twain pro but even that doesnt set the capabilities of the scanner. For example if the scanner is set to 300 dpi and I set 200dpi from my application, the scanner scans with 300 dpi. It gives me an error saying that the value given is out of range.

View 1 Replies

Add Scripting Capabilities To Windows Forms Application?

Dec 8, 2010

I want to allow the user to write a little script (JScript, VB, whatever) with a function called by my application that returns an XmlDocument object (a string would be ok).I did some research, and it looks like the scripting engines are obsolete.

The best solution I could find is here: [URL]..But I was wondering if there is a better and more "official" way.

View 7 Replies

Free Version Of SQL That Includes The SSRS Capabilities?

Aug 29, 2011

Is there any free version of SQL that includes the SSRS capabilities. I found the 180 day free trial. None of the Express version I download seem to have SSRS.

View 3 Replies

Inherited Listview Control Could Have Built In Cross Threading Capabilities?

May 15, 2009

I've not got any issues with Cross threading but I hate the amount of work involved in sorting cross threading issues out.I thought today that my inherited Listview Control could have built in cross threading capabilities; it would decrease the amount of work on the form, and tidy things up.I've got this to work (EnsureVisible method), BUT I'm a little stuck when it comes to the Items.add below is my example control.

[Code]...

View 8 Replies

Building A Server Control That Inherits Button And Giveing It Other Click Capabilities?

Dec 11, 2008

building a server control that inherits button and giveing it other click capabilities

View 5 Replies

Asp.net - Building A Server Control That Inherits Button And Giveing It Other Click Capabilities - Catch The Click Event?

Dec 1, 2010

I want to create a server control that inherits System.Web.UI.WebControls.Button but gives it special capability, now what do i mean? i want my button to be a confiorm button that will work like so:

Renders to the page as a button of lets say cancel after the user clicks it i want to catch the click event (within the server control) and now after the click makeing the button not visible and makeing some kind of content placeholder (that will render from the server control) visible. that content place holder will have 2 buttons inside of it: yes and cancel. I want the programmer that adds this control to be able to register a function to the click event of the yes button. and the second cancel confirmation button should make the first button appear agian. (i know how to do this all in the client side but this time i need it all as server events)

My question is this: how do i catch the click event? i want it all to be handled inside the server control itself. so a programmer that adds this control wont have to worry about anything but just needs to register to the click event of the "yes" button.

View 1 Replies

Msgbox Capabilities - Msgbox Cleared Without Having The User Do It Manually?

Nov 15, 2011

if its possible to have a msgbox cleared without having the user do it manually? what would be my best option here?

View 8 Replies

IDE :: Add The Directx In VB6?

Mar 9, 2009

i am using windows vista and i have installed visual basic 6 and Microsoft directx SDK 2008 in my computer.I want to use directx in VB6 but i am not able to add it from the reference.There is no reference to directx available there.

View 1 Replies

Set DirectX SDK Up With VB?

May 9, 2009

i am beginning to be better and better to VB express edition 2008, and really really like this language, my goal is to program 3D games.And since i didn't came anywhere in C++ or C#, i believe it's possible to make great 3D in Visual Basic. how to set DirectX SDK up with Visual Basic? and show me some tutorials or books?

View 10 Replies

Using DirectX With VB?

Jul 21, 2009

I have a quick question that needs answering. How can I use DirectX in my VB 2008 application? Most sites I've seen says to write Imports Microsoft.DirectX but it's apparently not there. I have downloaded the DirectX SDK (MArch 2009) but there are only C++ files in there. Can anyone provide insight as to how I could solve this?

View 5 Replies

In-project Components Fail If Project Is Opened With In-project Component Used On Initially Open Form?

Dec 20, 2010

Public Class ExtendedDateTimePicker Inherits DateTimePicker

View 5 Replies

3D Grid Using DirectX?

Aug 16, 2010

I am using Microsoft's Visual Studio 2005 (VB.Net) to make a basic directx program, which shows the coordinate visually. The idea is to draw the x-y and x-z grid using the line class of the direct3D. The line class has a function to draw line in 3d

Public Sub DrawTransform(ByVal vertexList() As Microsoft.DirectX.Vector3, ByVal transform As Microsoft.DirectX.Matrix, ByVal color As System.Drawing.Color)

View 4 Replies

Hooking DirectX 9

Sep 9, 2009

I'm working on a tool that requires overlays ala X-Fire. I'm hoping to do it in C# or VB.NET rather than resorting to C++, but the only solutions i've found for .NET cause a large performance hit (~20FPS in games). Take a look here: [URL]

View 1 Replies

VS 2008 - Timer - Project A References Project B So Can Open A Large Form In Project B

May 5, 2010

For reasons that are beyond my control, I have three Projects. Projects A and B reference project C. Project A references project B so that it can open a large form in project B. I now need to open that large form from project C, but VB won't allow me to add a reference from C to B because that would create a circular dependency. I found a way around it, though. I created a Timer in A, and when I opened C from A, I passed in that timer. When the user performs a certain action, I enable the Timer from A, and this causes C to open B for me.

View 2 Replies

2008 And DirectX - Display ?

Dec 3, 2009

I'm using Visual Studio 2008 on Windows 7 64-bit and latest DirectX SDK (August 2009). When I run program, window looks like this . The code is from site . Windows Vista 64-bit has the same problem. My graphic cart is Gigabyte GeForce 9400 GT

View 4 Replies

Add A Reference To DirectX In VB 2010?

Mar 21, 2012

If I try to copy/paste simple tutorials such as [URL], Visual Studio freezes indefinitely and I have to force-close it. If I try to use code like the stuff found here
[URL] or even just load up Reed Kimble's XArcade Vengance from this forum, I get this error message:

An error occurred creating the form. See Exception.InnerException for details. The error is: Could not load file or assembly 'Microsoft.DirectX.Direct3D.dll' or one of its dependencies. is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)

[Code]...

View 6 Replies

Cannot Import The Directx Reference

Oct 17, 2011

I've spent a long time bashing my head against my desk and an even longer time trying to get directX to work with vb.net. I've downloaded the June 2010 SDK and installed. I cannot import the directx reference, and it does not even show up in the add references popup. even when manually going into the c:program filesMicrosoft DirectX SDK (June 2010) and search every folder for the correct file it does not exist. What the hell. I'm running Visual Studio 2010 Pro. this is the most frustrating thing.

View 1 Replies

Connect An Unmanaged DirectX To .NET?

Sep 20, 2009

Maybe this is not true ... But how to connect an unmanaged DirectX to VB.NET? For anyone dll I use <DllImport()>, but Unmaged DirectX have interface.... Than I tried use "<ComImport(), Guid(...)...>", but I do not know how to use COM interfaces Maybe I did not really understand COM technolgy... I tried find documentation "how to use com interfaces", but found nothing.

View 1 Replies

DirectX - How To Create 2D Graphics

Aug 20, 2009

I have found an example about how to create 2D Graphics in Visual Basic using DirectX here. I have created a new Windows Application, I have copied the code, but I get errors. The code seems to be OK, but the application refuses to start. I have the nVIDIA 7300LE Graphics Card and I'm using Windows Vista x64 with DirectX 10 and Microsoft .NET Framework 3.5 SP1. I have also downloaded the DirectX Redistributable Package (March 2009) in order to make my application work...

View 10 Replies

DirectX 2D Drawing With Program?

Sep 28, 2011

I'm using using System.Graphics for my latest project (A simple 2D application). Problem is, it gets a horrible FPS and I'm only drawing 8x8 tiles (usually 10-12 is enough to bring it down to 12FPS).

A friend of mine suggested that I use DirectX. He also suggested XNA but I opposed because I don't want my clients to have to install the XNA distributional. DirectX is common enough (to my knowledge) and I can just include the dll's if I need to.

So, my search began. I've been looking only for DirectX 2D tutorials for VB.net. I've had no solid success thus far. In truth, all I need to do is be able to draw bitmap x at position pos.

I've been using System.Graphics and a hacked up bitmap as my buffer thus far so I'll go for any improvement that I can get.

I'm using VB.net so I'll be ok if you give my one for C#, I'm pretty good at being able to read it (and I have a nice converter too). I would just prefer VB.net to save time.

View 1 Replies

DirectX Not Working In .NET FYI And Question

Apr 3, 2010

I decided to add some 3D rendering to my project and found an interesting little quirk. DirectX doesn't like to work under the AnyCPU Platform; it won't run. Instead you have to assign it to a new platform x86 under the Configuration Manager; which makes debugging difficult because if your doing User Controls they won't load.

View 2 Replies

DirectX Scaling / Intensity Changes

Jun 24, 2010

So, I coded a graphics engine for myself. I can make meshes, save them, load them, rotate them, position them, scale them, and light them. Unfortunately, when I scale objects to a size other than it's original size, my lighting intensity changes (seemingly proportionally) with the scale of the object! Ambient light still works correctly though. Any suggestions?

View 4 Replies

How To Install DirectX With Application

Mar 13, 2011

I have made a rendering application and it NEEDS dx9c to run... so i want to add dx9c install into my setup project, so when the application installs after the setup has installed the main application it will then install dx9c, I have a folder in my data folder called dx9c with full runtimes inside and the dxsetup.exe, I have tried making a custom action and pointed the action at the dx9c/dxsetup.exe from the data folder into commit folder but this errors on when launching the dxsetup.exe "invalid command line" and uninstalls the whole application.

View 1 Replies

IDE :: DirectX Referencing In VS10

Jun 25, 2010

i have just installed Visual Studio 10 and DirectX SDK (June 2010), however i can't seem to add directX as a reference. I have also tried Direct X SDK (march 2009).

View 3 Replies

Installing DirectX Or OpenGL On VB?

Sep 13, 2011

I wanted to install visual Basic or C++ (but Basic really seems easyer to use) with DirectX or OpenGL but I can't get it to work!I've tried Visual Basic Express 2008 and 2010 and i'm getting the same type of errors...

-> Directx

When I try this program [URL]with VB I either get

with 2008 : just a red cross on a blank screen

with 2010 : an unlimited waiting time, and when i click i get an error message that tells me to continue waiting, im forced to CTRL -ALT - DEL to shut down VB.

-> OpenGL:So i've tried a lot of times! they tell me that it's already installed on windows so i don't need any installation but then VB gives me alot of errors, telling me that some part of code isnt recognized!!

i've tried tutorials with Csgl or Tao, but none seem to work...I already got some knowlege of OpenGL but not DirectX, so could anyone please tell me which one does work on my computer and is best for creating a graphics window inside an API that i create, for instance a mob maker?

View 15 Replies

Multiple Sounds With Directx?

Dec 22, 2009

i have a little project I have been working on over the past few days just a simple piano project, during making it I used directx sdk To allow me to play multiple wav files at the same time. everything worked out great got the piano working and was able to play some sound effects while I banged out a master piece on the piano . So the next step was to make an exe file , I knew that once I used directx sdk I might run into a problem when trying to make an exe to run on all my PCs that dont have directx sdk installed on them .

My question is it possible to make an exe that will allow my program to run on any pc even without directx sdk installed?

View 4 Replies







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