zbethem's Q&A profile
Visual Basic convert to vb.net - System.IntPtr* ptr = &handle;
Dim handle As System.IntPtr System.IntPtr* ptr = &handle; <<-- in vb.net How do I convert this Thank you. -Greg Use the Marshal Class http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfSystemRuntimeInteropServicesMarshalClassTopic.asp ...Show All
.NET Development HTML
Hello Is it possible to send Email from a HTML Page. i have a table in that HTML Page,i need to print that particular table.is it possible to do. Thanks in Advance. AngnaT wrote: suppose my mailId is info@Myname.com <a href=" mailto:info@Myname.com "> MSDN</a > This would open your default email program like MS Outlook. ...Show All
Windows Forms BindingSource property list is randomly ordered?
Is it just me, or is the BindingSource property list randomly ordered I have an object with over 50 properties, and finding the one I want is impossible. They are not alphabetical, nor are they in the same order as the object code. I can't figure it out. Any help would surely speed my process, Thanks -RayK I've looked around and can't find anything in the IDE. However, since I also couldn't find anybody else complaining about this, it is possible it is only my machine. I will test on a co-op's machine. I believe he has a fresh copy of Dev Studio without anything else installed. Thnx, RayK ...Show All
Visual Basic Classes and definitions
Hello. Im learning to create and use classes as work. What I would like to know is how I can create definitions in my classes for methods that show up in the code window. Example, you use one of the bulit in .net classes and select its method you get a mini definition for it. Im coding in VB 2005. XML Comments are what you seek. To use them simply type the comment character 3 times right above a class, property, method or just about anything else to have the environment generate a default block for you fill in. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Mesh Alpha chennal problem?
Hi All, I tried to draw few meshs in game. But i has some textures problem. The problem is a meshs collistion another mesh, textures alpha chennal has some problem. Below is capture screen. Who can tell me why How to fix this problem http://hk.geocities.com/brian_tsim/error.PNG Best regards, There is one more thing to consider here - in Quake 3, the Rocket Launcher left a trail of smoke which was represented by many - potentially a hundred - transparent smoke animations arranged in a line. If the player fired a rocket these all stacked on top of each other and the game would get progressively slower as the rocket made more and more smoke images all stacking. They rendered perfectly - probably using this back-to-front ...Show All
.NET Development Regular Expression: Help on creating appropriate expression needed...
Hi there! I'm now trying since hours to construct an appropriate regex that will fit my needs. Here is the starting situation: I've got a string like "abc F123[F456[F789]] 123" In this string I want to find the following expressions: - F123[F456[F789]] - F456[F789] - F789 An expression is defined as follows: - starting with an 'F' - followed by min. one digit - optional followed by an expression enclosed in brackets '[...]' which also may (recursively) include this kind of expressions I'm searching for. I tried this by using the following regex: [F][0-9]+[\[]{1,}.* [\]]{1,}|[F][0-9]+ But the expression only finds the first needed match ( F123[F456[F789]] ). What do I have to do to find also the other needed matches (recursicely) G ...Show All
Game Technologies: DirectX, XNA, XACT, etc. SDK won't compile on VS2003 -> Syntax error in D3D10.h
When I try to compile the code from Tutorial 01 that comes with the October SDK in VS2003 it gives the following errors; i:\Program Files\Microsoft DirectX SDK\Include\D3D10.h(818): error C2061: syntax error : identifier '__out' i:\Program Files\Microsoft DirectX SDK\Include\D3D10.h(822): error C2061: syntax error : identifier '__in' i:\Program Files\Microsoft DirectX SDK\Include\D3D10.h(826): error C2059: syntax error : ')' What do I need to do to resolve this problem Thanks. I am still using WinXP at the moment, but thank's for the suggestion. I didn't realise there WAS a windows SDK, I have not been doing c++ programming for long (mostly programmed in Java and Perl up to now), so I will certainly insta ...Show All
Windows Forms exiting the loop on button click
hi everyone, I have a continous loop like do while x=1 loop I have also quit button to stop the process but the form becomes unresponsive so i can't use it.I am thinking of putting something like "do while button isnot clicked" but I don't know how to mention it in code... I have been searching google for 1 hour nothing came out... I hope someone can help me about it. Kindest regards, Can Thanks for the reply.I am using: Application.DoEvents() ' Process outstanding messages before sleeping System.Threading.Thread.Sleep(1000) and then in this break the buttons work,otherwise I have to use threading one for GUI and one for the loop( is getting continu ...Show All
Visual Studio Problem installing .net framework 2.0
hi i am using visual studio .net 2003 and can't find any forum regarding it.. so i am posting my problem here.. i am trying to install .net framework 2.0.. i have already installed windows installer 3.1 it needs. framework installation even shows me the completed successfully message and creates folders in microsoft .net folder as usual. but when i open .net IDE and see the version of framework installed from about IDE menu bar it shows version 1.1 only. i have tried it repairing it also, but it again shows me same. i am using windows XP with no service pack. thanks in advance. not quite. VS2005 also supports .NET 3.0 but there will be a new version of VS for the next framework. It's actually not so lame as th ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Can anyone confirm this potential BUG with Spritebatch / RenderTarget...
Hi all, I'm experiencing a strange problem that I can only attribute to one of the following... 1) My own incompetence :-) 2) A flaw in the Spritebatch code. Can anyone confirm that it is the latter please. Some background... In order to ensure the correct look when running at a variety of resolutions and aspect ratios I am wanting to spritebatch all of my 2D stuff to a RenderTarget and then spritebatch the RenderTarget to the BackBuffer in the correct scaling (either full screen for widescreen or not quite full height for normal TV). I am creating a Texture2D as a RenderTarget of 1280x720, Default resource, 1 level, SurtfaceFormat.Color, etc. The problem... I stash the backbuffer, set the rendertarget to ...Show All
Smart Device Development security library for Windows Mobile?
Hello everyone, Are there any native security library for Windows Mobile 2003 provided by Microsoft, providing DES, AES and SSL thanks in advance, George ...Show All
Visual C# Default property of a class?
Hi. I've a maybe dumb question but.. Suppose you have a c# class with three public properties: int Value int Position int Lenght Now.. How do I declare the "Value" property to be the default one (I'm writing a C# DLL that must be used by VB applications) I'd like users to write: Dim Instance As New MyClass() Instance.SomeMethod() Dim Result As Integer = Instance '(Instead of Instance.Value) In VB this can easily be obtained declaring that property as: Public Default Property Value As Integer But.. how do I do this in C# Thank you Check out the relation between the default in VB and the indexer in C#. http://msdn.microsoft.com/library/default.asp url=/library/en-us/vb ...Show All
Windows Forms Visual Studio Installer - insert License Agreement Dialog
I am trying to create a simple installer program and wanted to insert a license agreement. I have added a new license dialog, then added the license file in RTF format to the installer project and specified the LicenseFile property of the License Agreement Dialog box. I rebuilded the whole project and still did not see the license text shows up in the dialog. No build errors or warning are reported. What could be wrong Thanks in advance Matador139 Yes, there are text in the license file. I have a test project that I created and it still didn't work. Patrick ...Show All
SQL Server Clustering , how to start ?
Dear Friends, i'm using windows 2003 server on both computers i wanted to practice clustering with sql 200/2005 [two nodes] but it asks for a quorum disk as a shared disk between the two clustered nodes, i didn't know what a quorum disk it, the internet when i searched for says that a quorum disk should be either a scsi or fiber channel disk, i've never seen a scsi disk, i'll purchase it today, but what i'm confused about is, how will i connect one single scsi disk two two computers/nodes i mean does a scsi disk have a long cable to connect to and if yes, then where does the cable fit in on either of the nodes, or is it not physcially shared then if it's logical then how do i configure it. pls reply soon, regards, and thanks ...Show All
Visual Studio Express Editions Porting VB 2003 to C#\Can't find Arraylist
I am porting an application over from vb 2003 to C# 2005 express. The VB application makes extensive use of the ArrayList object, I have tried looking for it in C# 2005 express and could not find it. Is it not included If not does anyone have any suggestions for a work around I am not very good with arrays and that is why I used arraylists in vb. Currently I am just using a invisible listbox to hold my data (I am placing information into it as and then saving it's contents out to a file) Thanks for the help! Scionwest Awesome, thanks! I used the System.Collections.Generic.List<> and it works great. Appreciate the help. Scionwest ...Show All
