473,767 Members | 2,224 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to show DirectX in Visual Basic of Visual Studio 2005 Beta 2 ?

Hello. To see the graphics of technology DirectX 9.0 SDK Update - June 2005
in project Visual Basic, WindowsApplicat ion1 from Visual Studio 2005 Beta 1,
in file My Project, MyApplication.v b in a method:

<Global.System. Diagnostics.Deb uggerStepThroug h()> _

Protected Overrides Sub OnCreateMainFor m()

Me.MainForm = My.Forms.Form1

End Sub

instead of a line (Me.MainForm = My.Forms.Form1) I wrote down a code from
Tutorials DX:

Dim frm As New Form1

If Not frm.InitializeG raphics Then

MessageBox.Show (":")

Return

End If

frm.Show()

While frm.Created

frm.Render()

Application.DoE vents()

End While

and the graphics normally appeared on main Form1 and on the subsequent
instances of Form1 (after click of the Button on this Form1).

Now I have installed Visual Studio 2005 Beta 2, and in project Visual Basic,
WindowsApplicat ion1 in file My Project, Application.Des igner.vb in a method:

<Global.System. Diagnostics.Deb uggerStepThroug h()> _

Protected Overrides Sub OnCreateMainFor m()

Me.MainForm = Global.WindowsA pplication1.For m1

End Sub

instead of a line (Me.MainForm = Global.WindowsA pplication1.For m1) I have
written down the same above mentioned code from Tutorials DX.

However now there is a panel with the message "Pass Microsoft data on an
error". If in file Application.Des igner.vb to change nothing, and to write
down the same above mentioned code from Tutorials DX in handler of click of
the Button on Form1, after occurrence of Form1 and click of the Button,
graphics of DirectX appears normally.

Inform, please, how to show the graphics of DirectX on main Form1 in
project Visual Basic, WindowsApplicat ion1 from Visual Studio 2005 Beta 2 ?

Beforehand many thanks for the answer. Mr. Zharkov V.A., Moscow, Russia.
Nov 21 '05 #1
0 1516

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1635
by: Dr. Zharkov | last post by:
Hello. I have installed on my computer Visual Studio 2005 Beta and DirectX 9.0 SDK Update - (Summer 2004). I have developed projects Visual Basic, Visual C# and Visual C++ for construction of 3-Dimensional geometrical bodies, surfaces and lines of a level of these surfaces without use of DirectX, and now I want to make the same with use of DirectX. Inform, please, where it is possible to find an example of construction of a geometrical...
2
387
by: Bootstrap Bill | last post by:
A new Google group has been formed for the purpose of discussing the new Visual Studio Express products. http://groups-beta.google.com/group/Visual-Studio-Express The products are currently in beta testing and include Visual Basic 2005 Express, Visual C# 2005 Express, Visual C++ 2005 Express, Visual C++ 2005 Express, Visual J# 2005 Express, Visual Web Dev 2005 Express and SQL Server 2005 Express.
4
2185
by: Zoury | last post by:
look up your timezome settings... you have future posted.
4
3479
by: interwanderer | last post by:
something very odd... I have installed visual studio 2005 on my machine. I created a console application with visual basic 2005 or C#. I typed something in. tried to delete.. but i couldn't I can't use enter, delete or tab for some odd reason.... this works perfectly fine with visual studio 6 and visual studio.net 2003 on the same machine
14
2658
by: Jessica Weiner | last post by:
I am writing an application in C# which need to plot graphs and simple shapes (polygons, circles, squares etc). Which library is better for this purpose and why? Thanks.
10
1666
by: gerry | last post by:
i just downloaded and installed the directx aug 2006 sdk the machine i installed it on had both vs2003 & vs2005 the visual studio extensions were installed into vs2003 but not into vs2005. does the directx sdk not integrate with vs2005 ? are we essentially forced to develop directx apps using vs2003 & .net 1.1 in order to take advantage of the vs extensions ? the docs make no mention of vs2005 or .net 2.0 - but then again while the vs...
4
2161
by: sqlguy | last post by:
Why do we have to contact MS for a problem that has been with this compiler from at least the beta of VS 20005. I am so sick and tired of the 30 - 40 clicks it takes to dismiss VS when there is a problem. Can they not just post the fix. I see no reason to contact MS since I have most likely sent about 1500 dumps to them and I would think this would get their attention.
11
2297
by: =?Utf-8?B?UGV0ZXI=?= | last post by:
I have seen the terms Visual Basic 2005 and VB.NET. It seems that sometimes they seem to be referring to the same thing but sometimes they are not. I also run into terms like VB9 and VB10.
2
2320
by: Z.K. | last post by:
I was wondering if someone could tell me why I get this message and how to prevent it. If I hit continue, it runs fine, but want to know what I am doing wrong so I won't get this error in the future. also what is the file Clock.vshost.exe; my application is Clock.exe. Z.K. 'Clock.vshost.exe' (Managed): Loaded 'C:\Documents and Settings\Super_Wizard\My Documents\Visual Studio
0
9571
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10009
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9959
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9838
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7381
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6651
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5423
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3929
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.