JUANCARLOSR's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. making a map
Im wondering how to they make maps for the games. I just downloaded the game studio. Is it a program or codes Check out http://www.gamemaker.nl/ for a game making tool with built in editors. Otherwise waht george said is right, unless the game has a modding editor provided for you then the game designers likely used a combination of a 3d editing tool (maya, 3ds max) and photoshop. ...Show All
SQL Server Reports running automatically when all parameters had default values
If all the parameters for a report have default values, the report runs automatically as soon as you open it. Is there a way to prevent this Hi, Remove the default values of the parameters in the report or in Report Manager.Set the default values for parameters in Stored procedures. ...Show All
Visual Basic Difference between And and AndAlso???
Whats the performance difference or any difference when building if statements using AndAlso, OrElse instead of Or and And Spotty, I'm a new guy here...new to Visual Basic. Am I to understand that the use of AndAlso and OrElse primarily provide performance benefits in that unnecessary code is not evaluated It seems like this is generally something that goes on well beyond the view of the user and that, in most cases, a user would never know (or care) that an AndAlso statement was used as opposed to an And statement. Would it be a good practice to exclusively use AndAlso and OrElse , unless a specific case for using And or Or came up This question seems to have been answered a number of different ways, but I'm trying to ge ...Show All
.NET Development Problem with delayed SSL Connections and HTTPWebRequest
Hello, We have a Windows service that needs to do a simple connect (GET) to an SSL Server periodically. When the service is started, the first request always goes through fine. As long as the subsequent requests are within a short period of time (minutes), they go through fine as well. However, when a longer period of time has elapsed between connections (hours), the connections fail, giving the dreaded : "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.", with an inner exception of "Remote certificate was verified as invalid by the user." Here is a snippet of the code: Dim strConnectURL As String = String.Concat(strURL, " ", strContent) Di ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA with other languages
Hello, my name is Brian i am an Indie developer looking into the XNA. My question is, will XNA ever be able to be used with VB.net and will microsoft allow it as a language to be used whilst creating Xbox 360 and Windows games than you. Well, in a generic sense the XNA framework can do anything you want it to. It's not a physics engine, it's not a drag and drop game maker. What the XNA framework does is make creating a game easier by taking a way the need to know all the low level stuff like game loops, setting up communication with the graphics card, setting up communication with keyboards and other input devices and lets the developers focus on their game logic. With the release of beta 1, the mai ...Show All
Visual Studio Express Editions Database Calls
I am working with the API of another software company and I am at the point where I am able to click on something from there activex control and send something to VB saying what I clicked on...I am just assigning the text in a textbox for testing purposes. I would like to use this text to search a new database I am making and when it finds its be able to bind all the data that is on that row on the screen when this object is clicked. Any ideas on the best way to do this Thanks Okay I went back the basics and used the built in connection to SQL threw VB 2005 express and got everything working with exception of the dynamic part. I right clicked on the database in the Data Sources pane and select Edit DataSet with Designer. Then I adde ...Show All
Visual C++ VC++ 2005 Express deployment problem
I've struggled with this unsuccessfully for 3 solid days. I've got a tbv.exe and a tbv.exe.manifest file produced by VC++ 2005 Express. Works fine on the computer I compiled on. Unfortunately, I'm unable to get it to work on anyone else's computer because it can't find the runtime system msvcr80.dll on their machine despite me having them download and run vcredist_x86.exe Sounds familiar So I studied the thread "Running a very simple Win32 app on a comp without VC++ 2005" and I've been unsuccessful with the Answer described there. I come from a Unix/MacOSX background, so there must be something obvious I'm missing. I followed the Answer suggested there. My application directory is called treebankviewer contains tbv.exe and tbv. ...Show All
Visual Studio Error in Loading Crystal Report in VS2005
I have WinForms(.net 2.0) application where Im using the Crystal Reports Viewer. The Original Application was developed using VS2003. Now in debug mode I have problem viewing the Crystal Reports Viewer. This error is shown: "Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=9.2.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified." Stack Trace is as follows: at CBI.frmRptDisplay.InitializeComponent() at CBI.frmRptDisplay..ctor() in C:\CBI\Forms\frmRptDisplay.vb:line 15 at CBI.frmHomePage.btnGenerateReport_Click(Object sender, EventArgs e) in C:\CBI\Forms\frmHomePage.vb:line 6392 at System.Windows.Forms.Control.OnClick(E ...Show All
Audio and Video Development Animating from script
I've been performing all my animations from the markup, but have a case where I'd like to do it in the script. Is that allowed and what is the syntax I've been combing through the spec and cannot find a reference. Thanks. Thanks! Ok so I tried the syntax below but the sim throws an error (for this line) "Object doesn't support this property or method". document.FOO.animateProperty("style:y","400px;0px","1"); ...Show All
.NET Development How can I import a DLL at runtime?
I have a DLL called SampleWidget.dll, which contains a class called SampleWidget. I cannot merely import the dll at design time is because the DLL is a 'plugin' for my software. The end user will need to import more plugins as they use the software. With this in mind, How can I import the dll at runtime and create a new SampleWidget object Thanks in advance. System.Object target = Activator.CreateInstance(className); will create instance className.InvokeMember("execute", System.Reflection.BindingFlags.InvokeMethod, null,target,args1); will execute the required method. http://DotNetWithMe.blogspot.com vikas goyal ...Show All
Visual C++ Bypass printing dialog while printing using ShellExecuteEx
Hi I use ShellExecuteEx to print a ".gif" file to a specific printer(which I set as default printer, prior to the operation). This printer driver is used to perform a specific task and works with only my application and can't be used for printing outside my application. It works fine on Windows 2000. But on Windows XP/2003, instead of printing the .gif, it opens up the .gif in Windows picture and fax viewer. From here I can give printing command but I want it to happen automatically. Now my application keeps waiting for the "Printing is finished" message from my printer driver. When I give the print command from outside my application to print that .gif, the same print dialog opens up i.e. it is the default ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Blender .X files and XNA compatibility
Are the .X files blender exports compatible with Xna GSE. At the moment I get 2 errors one shows: Error 1 Could not read the X file. The file is corrupt or invalid. Error code: E_FAIL. whenever i have subdivisions on my model. The other states: Error 1 Could not read the X file. The file is corrupt or invalid. Error code: D3DXFERR_PARSEERROR if I have any other shape in my scene other than the standard cube which automatically starts in blender. I am running blender 2.42a In the version of Blender I have, there are 2 .X exporters. I had to try both, and one of them gave me the error you are seeing, the other worked just fine. In my list the 2nd one is the one that worked. ...Show All
Microsoft ISV Community Center Forums Possible to add multiple (300+) hyperlinks that run the same VBA code?
The code that I want to run is very simple -- it takes the text of the cell containing the hyperlink and copies it a specific range. It also selects the specific range. For example -- a list of 300+ symbols in one column: I want the text copied to the target cell (the cell jumped to once the hyperlink is clicked). The code needs to be the same for all hyperlinks on the page so that it copies the text from the current cell to the target cell. I added code to one worksheet as an example that looks like this: Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink) Selection = Target.Parent End Sub On the worksheet where this code occurs, there are hyperlinks created that point to the same cell on another workshee ...Show All
Visual Basic AxMSChart20Lib.AxMSChart
Can anyone provide me the usage details or documents or code related to this AxMSChart20Lib.AxMSChart control using C# Thanks figo, but i have to create my own chart control. Not any third party control. And this control is present in C-sharp 2005 also, not only in VB. This is the code i wrote, in Csharp 2005, it gives me an exception. AxMSChart20Lib.AxMSChart chart = new AxMSChart20Lib.AxMSChart(); chart.Title.Text = "My first chart"; this.Controls.Add(chart); When i use this code, i get this exception, "InvalidActiveXSateException was unhandled" Exception of type: 'System.Windows.Forms.AxHost+InvalidActiveXStateException' was thrown. Can u tell, how can this be corrected ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Are there any Notification callbacks in the Audio API?
Been looking through the help and I don't see any way to find any information on a playing audio clip. This is pretty critical if you are trying to sync animations up to the audio. There is a .GetVariable method on the Cue object, but that appears to get a static variable set in the XACT project. I see a promising variable named 'Distance' in the XACT project, but when I query that while the audio is playing I get back 0. So, is there any way to get some information on how far along a clip is playing I think the DirectX api has a WavePlaying callback or something like that. Any hope of that making it to XNA Just thought I would ask here before going to the connect site. Notifications for XACT were cut fr ...Show All
