Windows 7 Can't Find DirectX9 Microsoft.DirectX.Direct3D.dll?
Apr 9, 2009
this error seems to be an error on Microsoft's part with Windows 7 and DirectX9. DirectX11 on Windows 7 should be able to run DirectX9, but it says it can't find the assembly called "Microsoft.DirectX.Direct3D.dll". I know for a fact that he can play Assasins Creed on Windows 7 which uses DirectX9.. Why does that game work but not my application? I'm using VB.NET btw.
[Code].....
View 6 Replies
ADVERTISEMENT
Mar 4, 2010
How to solved error Unable to cast object of type 'System.Int32' to type 'Microsoft.DirectX.Direct3D.VertexShader'
We want to case ''System.Int32' value into 'Microsoft.DirectX.Direct3D.VertexShader'
I tried with CType but not working.Also tried mD3DDevice.VertexShader = CObj(D3DFVF_CUSTOMVERTEX_BOX)
View 1 Replies
Mar 12, 2011
SI like doing random things like 3D objects inside a windows form. With that said, I'm creating an application that will, eventually, write the code for me, after I do it myself visually.If you run the app it will make some more sense I guess.Now, to rotate the cubes, I'm using
.Transform.World = Matrix.RotationYawPitchRoll(CSng(CubeRx(1) / 10), CSng(-CubeRy(1) / 10), CSng(CubeRz(1) / 10))
now I do not want the world to rotate, just my individual cubes.Here's an example of me referring to my cube in action
If howmanycubes >= 1 Then
' vb2 = New VertexBuffer(GetType(CustomVertex.PositionNormalColored), 36, d, Usage.Dynamic And Usage.WriteOnly, CustomVertex.PositionColored.Format, Pool.Default)
[code]....
how to apply textures to the cube.instructions:When running the program, type in values on right side and click create cube.before you click create cube again, those same text boxes will adjust your current cube.Then when you click create new, it places another cube ontop of your current cube, so you'll need to give it new values.Not much validation is going on so some bad values will cause crashes.
View 1 Replies
Dec 23, 2009
Why can't i find "Microsoft.DirectX.AudioVideoPlayback" library in VB 2010 .NET References ? Is it because its BETA program?
View 1 Replies
May 30, 2012
I'm a having hard time finding Microsoft Windows CE Toolkit for Visual Basic 6.0 for download. I have a msdn subscription but it's not available. The Toolkit for Vb6 is too old to be still part of the MSDN subscriptions I guess.
View 10 Replies
Oct 9, 2010
I'm trying to play a music file. When I went to add reference and clicked on Microsoft.DirectX.AudioVideoPlayback.dll, it won't load. How do I resolve this problem?
Is this the preferred method for playing audio files?
View 8 Replies
Mar 20, 2010
Im currently working my way through understanding direct3D with visual basic for windows mobile. So far I have managed to write a fairly decent engine that allows me to create and transform any number of 3D primitives and 2D sprites. However I cant seem to figure out how to get Direct3D to apply any sort of shading to my meshes. Regardless of what angle they are to the camera, or their position in 3D space, they remain a solid flat color on every single polygon of the mesh.
[Code]...
View 3 Replies
Mar 12, 2010
The message "Could not find file 'Microsoft.Windows.CommonLanguageRuntime, Version = 2.0.50727.0'." started appearing after I attempted to publish my software. All previous versions of my software are affected as well. I have two projects in the solution. Both are written in vb. All versions used to work fine.
View 2 Replies
Apr 29, 2012
how can i create a buffer with BufferCaps.ControlEffects set to false in order to clone it? Here's the documentation
Public AudioData(7, 15) As SecondaryBuffer
Dim dev As New Device
Public Sub LoadAllData(ByVal ph As IntP
[code]....
View 2 Replies
Nov 22, 2010
I am getting the following error when i try to publish my application with the checkbox for ClickOnce Security On. Could not find file 'Microsoft.Windows.Common-Controls, Version=6.0.0.0, Culture=*, PublicKeyToken=6595b64144ccf1df, ProcessorArchitecture=*, _ Type=win32'. [projectname ]
[Code]...
View 6 Replies
Oct 8, 2011
I'm currently doing a project that includes access 2010 My question will be what driver can I use for an access 2010 *.accdb type file? For a *.mdb it works perfectly well with
ConnString ="Driver={Microsoft Access Driver (*.mdb)};Dbq=" & Application.StartupPath & "\CITSDB.mdb;Uid=Admin;Pwd=123;"
But, when I changed the mbd to accdb:
ConnString ="Driver={Microsoft Access Driver (*.accdb)};Dbq=" & Application.StartupPath & "\CITSDB.accdb;Uid=Admin;Pwd=123;"
It resulted in errors:
ERROR[HY000][Microsoft][ODBC Microsoft Access Driver]Could not find file '(unknown)'.
ERROR[IM006][Microsoft][ODBC Driver Manager]SQLSetConnetAttr failed
ERROR[HY000][Microsoft][ODBC Microsoft Access Driver]Could not find file '(unknown)'
And then it shows me that my code for
If dsLogin.Tables(0).Rows.Count = 1 Then
IndexOutOfRangeException was unhandled
Cannot find table 0
I knew it must be the driver but I don't know what accdb driver I can use for the connstring.
View 3 Replies
Aug 19, 2010
It seems very difficult to find information on the use of DirectX with Visual Basic. MSDN gives a full list of methods, properties, enums etc but very little in the way of code examples. C++ and C# are better served.Why is Visual Basic (a terrific coding platform) so neglected in this area?
View 2 Replies
Apr 15, 2009
I am currently using the code below within a VB.Net application to find specific text in a Word document. The text is surrounded by symbols represented by the character codes in the .Text statement. The code below is working fine. The issue now is that sometimes the desired text within a document has been marked for deletion and appears as tracked change within the document. I would like to find only the desired text that has NOT been marked for deletion. Does anyone know of a way to determine if the found text is a deletion?
[Code]...
View 2 Replies
Jul 23, 2010
So I have this error.
[Code]...
So I'm guessing it has something to do with the fact that I don't have office loaded on my computer. Now I have another laptop, with office that I loaded this project on, and it works fine. So do I have to load office on this computer, or can I just reference something?
[Code]...
View 8 Replies
May 7, 2009
I read in msdn that registrykey class is found in Microsoft.win32 namespace.But when I try to add a reference to my project, I couldn't find Microsoft.win32 in the list.
View 4 Replies
Jan 23, 2010
I'm making a scripter to allow the user to add locations for Direct3D Icons, but I'm trying to make a sub for it...
Public Sub icoadd(ByVal mod1 As String, ByVal mod2 As String)
loc.X = defined.Location.X
loc.Y = defined.Location.Y
[Code].....
View 4 Replies
Jul 13, 2009
OK, I've read everything I could find about this loader lock exception: DLL <name>.dll' is attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang.
Just turning off the loader lock exception in the managaged debugging assistants doesn't work (my real application then hangs), and all the work-arounds are for doing things in C++ that I can't do in VB (like setting linker options). So, can anyone tell me how to make this simple blank form (with two additional lines of code in the constructor) avoid a loaderlock execption under VS2008? (If I know what to do to fix this toy example, I can probably fix my real app.)
[Code]...
View 10 Replies
Jun 20, 2009
i'm working on a simple 3D CAD to create complex 3D objects. This application uses:
1. Direct3D to render the objects
2.The methods contained in the Mesh class (such as Mesh.Box(...)) to create them
3.The Matrix class to apply some basic transformations (such as Translation or Rotation)
My issue is to do a boolean subtraction of a Mesh to another one to create a more complex Mesh, for example a Mesh with holes.
View 3 Replies
Jul 18, 2009
can anyone has idea how to get Microsoft.net framework installation path using window application in c#/vb.net.
View 2 Replies
Dec 31, 2009
I am using vb 2008, and I am not able to find the microsoft speech object library. I have gone to Project > Add Reference... > COM tab and looked for it but it is not there. Am I missing something? Will anyone be able to help me find the or download and install the Microsoft Speech Object Library?
View 3 Replies
May 12, 2010
I'm trying to import data from an exel sheet to a data grid but I keep on getting the following error "The Microsoft Jet database engine could not find the object"
Here is my code
Imports System
Imports System.Data
Imports System.Data.OleDb
[Code]....
View 2 Replies
May 26, 2009
I would like to open a word document in vb.net windows forms.I read that the first thing do to is import the library of word from COM Library.I'm using Microsoft Office 2007 and VB.NET 2008.. I couldn't find the word object in the library I read the items one by one and I've seen the small icons of the application at the corner of the page, I couldn't find word
I found the spread sheet object that belongs to Excel and Data Source that belongs to MS ACCESS also Infopath was there too.. except word.
View 3 Replies
Dec 7, 2010
I am using vb.net in vs2010.I can't find the Microsoft.SQLServer.ManagedDTS.dll. How do I add that dll to the reference?
Imports
Microsoft.SqlServer.Dts.Runtime
View 3 Replies
Oct 14, 2009
I have a table located in a Microsoft Word document. changes has been enabled in this document. I see that I can get the collection of revisions using "ActiveDocument.Range.Revisions" . I also see that I can tell if the revision exists inside a table using "Range.Information(wdWithInTable) " .My question is this:I really need to find out the "ID#'s" that contain a revision on the "SomeText#" column.So for example, if "Some Text 1" was revised, I need to output "ID-1".I am puzzled as to how to implement this logic. Does anyone know of a way to go about this?
View 2 Replies
Jun 22, 2010
I'm trying to import data from an exel sheet to a data grid but I keep on getting the following error "The Microsoft Jet database engine could not find the object"
Here is my code
Imports System
Imports System.Data
Imports System.Data.OleDb
Public Class ExellFrm
[CODE]...
View 4 Replies
Apr 2, 2011
I want to learn 3D programming within the Microsoft Windows .NET environment. My best .NET language is VB.NET.My aim is to be able to create 3D images only. I do not want to create 3D videos or 3D games.Any suggestion of books or online resources that are suitable for VB.NET users like me?
UPDATE:
I know nothing about 3D programming and only have limited experiences in 2D graphics programming under .NET I can work in all versions of VB.NET and Visual Studio (2003-2010)
View 2 Replies
Mar 3, 2011
in: Project->Add Reference
i not have: "Microsoft Windows common Controls 5.0"
What i can do?
View 5 Replies
Jun 6, 2011
icant conect to database with visual basic i get this error "The Microsoft Office Access database engine cannot find the input table or query 'Puna'. Make sure it exists and that its name is spelled correctly"
Here is my code :Public Class dataLayer Private Shared connection As OleDb.OleDbConnection Private Shared Sub connect()connection = New OleDb.OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & IO.Path.Combine(My.Application.Info.DirectoryPath, "Fiskal.accdb") & ";Persist Security Info=False;")
[Code]...
View 5 Replies
Oct 28, 2009
I've installed MonoDevelop 2.2b2 on my Windows workstation, which has the .NET 3.5 SDK installed and running fine (I can use VS Express and command-line compilation without a problem).Apparently MonoDevelop defaults to calling the Mono VB.NET compiler (vbcnc.exe) rather than the Microsoft compiler (vbc.exe) when building a project. (I haven't tried a C# project yet.)Is there a way to tell MonoDevelop to use the standard VB.NET compiler for .NET 3.5? I can't seem to find such an option anywhere in the application, solution, or project options.I like the MonoDevelop IDE (even better than SharpDevelop), but I'm not sold on installing and using Mono's compiler just yet, nor do I know if it can even handle the latest VB.NET / C# language features.
View 2 Replies
Apr 26, 2012
I was planning to test a webservice on VB.NET application, but it seems that I need the IIS, How can I download the IIS from Microsoft website on a Windows 7.0 machine..Luai Alrantisi, BSc in Computer Engineering, University of Ottawa 2007, Canada. IT Manager of MTN Mobile Telecom.
View 1 Replies