e.henriquez's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Compile error C4430
I am writting C++ Form Application using Visual .net 2005. I tried to use Direct3d to draw some simple 3d polygons, but i always got the following errors: Error 2 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\program files\microsoft directx sdk (february 2006)\include\d3dx9math.h 787 I include the following files: #include " d3dx9.h" #include "D3d9.h" Direct X version in my machine is: Microsoft DirectX SDK (February 2006). Dont know if anyone can help me out of this. I've been struggling in this for several days. thanks! JackyLi, How large is your code Could you post it or provide a link for us to s ...Show All
.NET Development AppDomain.AppendPrivatePath Depricated
I get a CS0618 that AppDomain.AppendPrivatePath is obsolete. The suggestion is to use AppDomainSetup.PrivateBinPath instead, but no matter how I set it, PrivateBinPath remains null. I am trying to update AppDomain.CurrentDomain after the domain is started. Is AppDomainSetup the correct way to go It seems this would only apply at creation of the domain, and I need to make this modification after the AppDomain has started. Thanks In case you are interested, you can find an article on outlook add-ins here: http://msdn.microsoft.com/office/understanding/vsto/articles/default.aspx pull=/library/en-us/odc_vsto2005_ta/html/Office_VSTOOutlookAdd-inArchitecture.asp Best regards, Johan Stenberg ...Show All
Software Development for Windows Vista Creating managed cards problem
I have unzipped and installed with success the batch file in Creating Managed Cards.zip. However, when the browser attempts to enter the page https://www.fabrikam.com/CardSpace appears in the browser the HTTP 401.3 - Access denied by ACL on resource Internet Information Services page. During the installation a pop-up alert came about the Automatically detected proxy! should I configure the proxy what address should I use Thanks in advance Amadeum Thanks Rasmus! But I already did that and is still not working. I follow all the steps in the instalation, everything was installed with sucess, but I'm always getting the same message when I'm trying to acc ...Show All
Windows Forms Bevelled tabs on TabControl
I see from TabControl FAQs that it is possible to color the tabs... http://www.windowsforms.net/FAQs/default.aspx PageID=2&ItemID=478&CategoryID=3&tabindex=3 Can anyone please tell me how to bevel them I'm sure it must be possible. It is available as a 3rd party TabControlEx (colored & bevelled tabs) from http: / / www. dotnetrix. co. uk/ tabcontrols. html but I've had problems with this in VS2005 Apppreciate any help. It does now. I see that you notified me of this in October, but for some reason I didn't respond. Sorry about that. ...Show All
SQL Server Another Major Flaw with Reporting Services!
Where is the text (.txt) export functionality I don't see any ascii text export mechanism without the .csv extension. Where is actual .TXT file of the reports. How do I get a .txt conversion out of the reports without messing with the .csv files. I would've wanted direct .txt export from the generation mechanism. This seems extremely basic form of reporting generation. I can't believe you can't get txt report out of reporting services. Enkh. Yes I'm pretty aware with the tradeoffs with the .txt generation of the report. I don't expect the formatting to be so perfect and detailed. Just some basic export function that has everything on the same line and some basic export functionality. In othe ...Show All
Visual Studio Team System Migrating to another server : The IIS application pool user name is invalid.
I am following the new TFS Admin guide : TFSAdmin-v61101.chm, in order to perform a test restore of our TFS installation onto a vm hosting a TFS installation with another name. i.e. TFSProd -->Move to --> TFSVM The VM is in Workgroup mode, but is a full-blown TFS (i.e. not Work Group edition) I am following the guide document entitled "How to: Restore Team Foundation Server Data" I have restored Sharepoint databases, including STS_Config I am trying to Set the Configuration Database Server in WSS, but get the following error: The IIS application pool user name is invalid In IIS I have STSAdminAppPool and STSAdminAppPool_1 - both are under the Network Service identity. In SQL Server, Network Service is mapped to th ...Show All
Visual Basic quick question about converting bytes
How would i go about changing a set of bytes into a big endian unsigned integer. I have already read the bytes into a byte array by the simple name of bytes. Now i just need to convert the 4 bytes in to the afore mentioned type. Check out the following http://msdn2.microsoft.com/en-us/library/system.bitconverter.aspx http://developmentnow.com/g/38_2005_1_0_0_42249/How-to-Convert-Byte-Array-to-Int32-Bigendian.htm http://dotnet247.com/247reference/msgs/44/223204.aspx ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Anyone to test an Octtree based space game?
I have a good (I think) version of an Octtree based scene management system. It needs more testing. I have built an Outerspace Game for testing......it needs other things built into it. Right now, there's a space station and 150 ateroid fields and a 3D starfield that you can fly around in. It needs spacecraft, other interesting stuff, like a mother ship. I would like to give the "Loose" Octtree and better test. Here's how it works: The entire space (within the game) is a cube (big sector) that is then divided up into 8 cubes (nodes, sectors) that is the divided into 8 cubes....and so on until a manageable size. Models and Game components can be added to the octree. It finds what node (according to position) that the obje ...Show All
Visual Studio 2008 (Pre-release) WPF application makes call to server through WCF and hangs
Hi, OK, this is what we did: Created two console applications, one server, one client. Implemented an server interface and callback. After setting the config files on server and client (using named pipes and WCF) we got everything to work. We are making a call to the server, and within this call, the server calls the client back [ServiceBehavior(InstanceContextMode = InstanceContextMode.Single,ConcurrencyMode=ConcurrencyMode.Reentrant)] Then we switched the client to a WPF (STAThreading). When the WPF app calls the server, the call makes it to the server, but never comes back. The client just times out... The really weird thing is that this only happens if we create the service in the Button handler, code looks like this: [Button handler c ...Show All
Visual Studio Express Editions Read Serialnumber of Harddrive
Hi, i want to read the serialnumer of hardrive. In 6.0 the it was working with this code Declare Function GetVolumeInformation Lib "kernel32" Alias "GetVolumeInformationA" _ (ByVal lpRootPathName As String, ByVal lpVolumeNameBuffer As String, _ ByVal nVolumeNameSize As Long, lpVolumeSerialNumber As Long, _ lpMaximumComponentLength As Long, lpFileSystemFlags As Long, _ ByVal lpFileSystemNameBuffer As String, ByVal nFileSystemNameSize As Long) As Long : Dim strRootPath As String Dim strVolName As String Dim lngVolSerialNumber As Long Dim lngMaxComp As Long Dim lngFSFlags As Long Dim strFSName As String Dim lngDummy as long strRootPath = "C:\" strVolName = S ...Show All
Software Development for Windows Vista R
Hi there. Yesterday I have installed Vista rc2 (b. 5744) and I tried to install Alcohol 120 Software (virtual cd-rom emulation and creation). Installation seemed fine but after I restarted my system and logged on I had a serious problem - after a few second the screen started somehow "flashing" in blue and black (NOT the classic blue screen). The system did not react and after a few seconds of this flashing it restarted. This repeated a few times. Then I tried to run the system in Safe Mode but in this it did not even started, the error blue screen apperared for a second and the system restarted again. Finally I somehow found some memory repairing tool and after running this the system works OK. I hope this helps you to mak ...Show All
SQL Server Error when schedule a job in SQL 2005
Hi, I have a SSIS package that contains an Execute DTS 2000 process. This DTS 2000 is calling a legacy package, which resides on the same server. The legacy package is just to import a flat file into the database. When i right click and execute this package, it runs perfectly without any errors. However, if i try to schedule this package as a job, it keeps failing. I checked the flat file source for the permission, it does have the account of the executor of the package. In the view history, i didn't see any more information about why it is failing. It keeps saying "The job failed. The Job was invoked by Schedule 10...." Does anyone have any ideas Thanks, I turned on the log and it wrote to the application log eve ...Show All
Windows Forms getting ComboBox to Open MyPictures
I'v been trying to get a ComboBox to open My Pictures Folder so a image can be Selected...I was woundering if someone could help me out with this issue... Code: private void pComboBox( object sender, System. EventArgs e) { OpenFileDialog dlg = new OpenFileDialog (); dlg.Filter = "MyPictures(*.jpg)" + "|*.png|All Files (*.*)|*.*" ; dlg.InitialDirectory = MyPictures.DefaultDir; try { if (dlg.ShowDialog() == DialogResult .OK) { _MyPictures.Open(dlg.FileName); } } catch ( Exception ) { MessageBox .Show( "Unable to open " + "album\n" + dlg.FileName, "Open Album Error" , MessageBoxButtons .OK, MessageBoxIcon .Error); } } } ...Show All
Smart Device Development Transparent images inC#.NET Compact Framework
hi, I'm want do put some images with transparencys in a Pocket PC 2003. I had tried everthing, png, green background, gif, etc... And I steel cann't make the images appear propely... Can anyone help me ! Sorry, my bad. This is actually more of UPNP sample. It does not do much wrt transparent drawing. Transparency is actually discussed in my blog: http://blog.opennetcf.org/afeinman/default,date,2006-02-03.aspx ...Show All
Visual Studio Team System IIS Virtual Directory and Team Suite Branch
I have a Visual Studio solution checked into a Team Suite Project. One of the projects in this VS solution is an ASP.Net web application setup with a HTTP location and a virtual directory on my local IIS on my development computer. This Team Suite Project was Branched. When I went to open up the Team Suite Project Branch, the web application project was empty because the IIS virtual directory was pointing to a different source location. What is more disturbing is that when I went to open up the previous Team Suite Project the web application was empty there and in the Windows Explorer the source code was gone!. Does Team Suite only work with ASP.Net web applications that have a "File System" location ...Show All
