claudio32's Q&A profile
Visual Studio Express Editions DirectX in Visual Basic
I have been developing 3d games using vb6 for a while, though i have not even managed to create a DirectX7 object in VB.Net 2005 Express edition. Can anyone give me some detailed guidance of how to create a DirectX7 object, including how to add references Woah, DX7 in Visual Basic 2005 I used to code in DX7 with VB6, but good luck doing that in 2005. You are probably better off downloading the DirectX 9.0c SDK and using DirectX Managed. Its actually much easier to use then the COM classes, and has lots of samples. I'm not a professional game programmer, though, so don't despair yet. ...Show All
.NET Development Memmory issue
Hi buddies, I am facing serious issues on memmory release. Issue is after disposing the objects also the memory is not releasing. It may be my code issue. I am using IDisposable to dispose and using, [System.Runtime.InteropServices.DllImport("Kernel32")] private extern static Boolean CloseHandle( object ClientList) to release the objects to memory, but still the app is holdin the allocated memory. Please help on these issue. regards, Vinu > disposing the objects also the memory is not releasing. Dispose usually only releases unmanaged resources. You' ...Show All
Visual Studio 2008 (Pre-release) MS SoapToolKit 3.0 - SoapClient30 Client calling a WCF server
I get a Run-Time error '5415' when I call a WCF service from VB 6.0 with the MS Soap Toolkit 3.0 Error : connector: connection time out. HRESULT=0x800A1527 Client: Sending the Soap message failed or no recognizable response was received. Unspecified client error. Const WS_URL = "http://10.3.10.7:860/WS/ wsdl" Dim oWS As SoapClient30 Set oWS = New SoapClient30 oWS.MSSoapInit (WS_URL) strResp = oWS.Hello("VB", "Password") I tested the same code on the same server with a ASMX file hosted by IIS, and the code an method worked without issue. Do I have to set some attributes on the Oper ...Show All
Visual C++ Bug using creat for binary files
I don't believe creat() works as it should. Being a very low level unbuffered I/O call, I do not think that it should default to translated mode. Regardless, even if I call creat() with the O_RAW or O_BINARY flags for the mode, it still translates any bytes that look like linefeeds in a binary stream into CR/LF combinations. The below example shows this when built from the command line with VS C++ 6.0 Am I missing something If I manual set _fmode to O_BINARY then it works. But sending it as a mode argument does not. Why Again, the default for creat ought not be translation anyway.... unless I misunderstand. #include <sys/stat.h> ...Show All
Visual Studio 2008 (Pre-release) DirectX vs. Viewport3D
Hello, my task is to display a complex part of an engine at the screen. The user must have the possibility to interact with it (hit testing, moving, any coordinate systems etc. ) At first I thought DirectX is an appropriate way to do this. Derive an control, override OnRender and so on. But I saw there is Viewport3D and it looks like to do the same just like a "DirectX-Window", isn't it But the samples (rotating teapot, ...) run very slow and take 100% of cpu. Or is there a way to speed this up (If I look at the samples of managed DirectX SDK these run very fast) Thanks, Eric ...Show All
Visual Studio Express Editions Couple of questions about positioning Windows Forms etc in C#
One is directly about form positioning and the other is about hiding it. 1. I want my startup form (MainForm) to start above the system tray/clock area, rather than in the middle of the screen etc (i.e at the bottom right of the screen). How is this done - i'm sure there is a way to retrieve the screen dimensions and set it from that. 2. I want the form to be hidden upon startup (visible = false). How do i achieve this please It's acessible from the system tray (notifyIcon), so can be shown again, if needed. For 1. I did have a bit of code that worked (which i can't find now) but it caused problems, since the IDE would not let me view the ...Show All
SQL Server Certificate limitations in SQL Server 2005
I have a Web site that has a database backend, which stores user information. I would like to encrypt the user information in a granular way. My question: Is there a limitation to the number of certificates that can exist in SQL Server 2005 I would like to issue a certificate for each user of my Web site, whereby the certificate is protected by the user's password (which I will not have access to -- the password will be stored as a one-way hash in the database). The certificates will provide access to a symmetric key, which will decrypt row-level data pertaining only to a particular user. The certificat ...Show All
Visual C# How to dynamically Create huge grid of editable textboxes at runtime..Help..
I'm working on a windows program that will open a tsv (tab seperated file) and store the values into an arrary and then put these values into a grid of textboxes where I can edit the values. I got to the point where i parse the text files into the arrary fine and I can put the values into the grid of textboxes.. but Im creating a grid of 12 X 100 which is 12000 textboxes i manually have to put into the form through the IDE. There has to be a better way to do this at runtime. Is there a way to create the textboxes at runtime where I can put it into a loop. for example: txtbox1...txtbox2, txtbox 3 and so on...... i want to s ...Show All
SQL Server Executing password protected packages
Hi - I have a master package that executes a series of other packages. Each of these 'sub' packages has the security property Encryption Level set to 'EncryptSensitiveWithPassword'. The master package has a series of file connections in the Connection Manager, one for each sub package, in which the password of the corresponding sub package is provided. When I run the master package in BIDS (in interactive mode) it opens each of the sub packages, requests the password and gives the 'Document contains one or more lines of extremely long text' dialog box. Is there any way to suppress the repeated password requests (seeing as it has alr ...Show All
Windows Forms Datagrid Bug?
Hi I have a Datagrid in my Application which has a context menu attached to it. I am having a mysterious DatagridTextbox Floating on top of the Grid. It has the text of the first row and first column Even if the data in the grid have changed, this textbox still has the same old text. and it stays on the top of the grid no  ...Show All
.NET Development Clipboard Viewer
In my .NET app I need to know when something has been added to the clipboard. Under Win32 I would use SetClipboardViewer. How do I do this under .NET Just to clarify, check out: http://pinvoke.net/default.aspx/user32/SetClipboardViewer.html ...Show All
Visual C++ VS2005 debug CRT does not report file/line info for heap corruption
Hi hyslopc! I just ran a test of the VS 2005 beta 2 debug CRT library _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_DELAY_FREE_MEM_DF | _CRTDBG_CHECK_EVERY_1024_DF | _CRTDBG_CHECK_CRT_DF); char * Test = new char [3]; Test[3] = '\0' ; // Cause memory corruption delete Test; This results in a dialog box being shown which says that a heap overwrite occured with allocation X at location Y. No really useful information such as the filename/line number where the allocation occurred, or the number of bytes allocated. If I jump into the debugger at that point, ...Show All
Visual Studio Team System Source Control Disabled
I've been configuring (well trying to) security. somehow I've managed to disable the Source Control menu option under the Team project settings menu accress all projects. What have I done I've found that the TFSServer account has access to this option, the only differencne I can see with it's rights and mine is that it is a service account. How do I add users to the service users group ...Show All
.NET Development ISAM installable file not found
Hello, I am trying to open a connection to an Microsoft Access data base in visual basic.net. I get the message ISAM installable file not found. I have the file MSISAM11.dll in c:\windows\system32. I registered it with regsvr32. and it still does not work. What can I do thanks a lot in advance for your help Aurora Tellez. Actually, I am using MS Access at work, so I never try to open the media player. All I know is this file does not exist on my system!!! ...Show All
Visual Studio VS.NET 2005 Beta 2 Team Suite Edition fails half way through.
I finished downloading the full Vs.net 2005 Beta2 team system files, extracted them and then attempted to install them on my Development Laptop. It turns out, I just re-built my laptop with a clean installation of Windows XP SP2, and MS OFFiCE 2003. There are a few more apps, but the bottom line is that the laptop is clean. I ran the Installation, and it installed the .NET framework 2.0, and then the MSXML 6.0 Parser. It got to the VS.NET installation, and starts copying files ok. About 3/4 of the way through the progress bar, it throws a generic failure record, and rolls back the installation. Is anyone else running into this Is there ...Show All
