FourBlades's Q&A profile
SQL Server How to make distributed query by SQL Express
I am going to make a distributed query, but in the query design view I cannot add the tables from another server, why hi, AFAIK, the designers only show objects local to the connected server (and database)... but you can easely insert the required code pointing to remote linked servers... regards ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Blitting?
I've checked through the XNA Documentation, but there doesn't seem to be any way to 'blit'. For those of you unfirmiliar with 'blit': Blit is a way to draw something. For example, say you create a "Texture2D" variable, set the size etc... But the texture is blank. The normal way to create a texture to this is to load up a bitmap image with it through the ContentManager, right But what if you want to use a whole sprite-sheet with many images Back to the blank, say, 65 x 65 bitmap image, you obviusly don't want this 2D image of the player to be a whole 1024x768 sprite-sheet. So this is where I used blitting in other programs, it basically asks for the x, y co-ordinates, and the length of the bitmap and takes a picture from that x,y and 'c ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Humorous but somewhat serious question about XNA
Microsoft has claimed the Nintendo Wii as a "kids toy;" however, if XNA can produce graphics and push performance up to what the Wii is capable of handling (games like Half-Life, Sims 2 from most XNA performance claims), does that mean that XNA is a kids toy too Where did you see this claim from MS As for performance have you seen the XNA Racer video That's using only one of the 360's processors (from what I understand). There's no question that the 360 can outperform the Wii. The Xbox can probably outperform it, although I don't have the specifics on the two sets of hardware. You're comparing apples to oranges with the Wii to XNA comparison. If you were to change XNA to 360, the comparison would ...Show All
Gadgets Open a file on disk
Is there another way of opening a file on disk (to read from it), besides then using ATL ATL You can use FSO. There's lots of examples on here. This being the latest. ...Show All
Visual Studio 2008 (Pre-release) sample service doesn't work on Windows XP 64
Hello, I tried to make a windows service that hosts a WCF service. Naturally, I've tried the sample first. It crushes raising an error: System.ServiceModel:Incorrect function at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen() at System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener) at System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback) at System.ServiceModel.Channels.HttpChannelListener.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Channels.DatagramChannelDemuxer`2.OnOuterListenerOpen(ChannelDemuxerFilter filter, IChannelLi ...Show All
Visual Studio Express Editions How can i create a setup file?
I have using VS.NET 2005 Standard Edition. i have code my project, but i want to create a exe file for these environment (WinXP, Win 2000....). It is because i just copy the project.exe and run it on other workstation that installed .net framework 2.0 now, but i cannot use the crystal report, it is because i haven't install the crystal report component. How can i create the set.exe include all lib that my project used THX I had the same problem as well. It started happening after I uninstalled a trial version of MacroMedia InstallShield from the computer I was using to develop my project on. From what I can gather InstallShield unregisters a bunch of stuff when it uninstalls itself ...Show All
Visual Studio Express Editions Example of tabbed webbrowsing
Hello, as I have seen a lot new threads about the webbrowser, I thought: "Why don't try it myself " :p So I tried, and I just made myself a working tabbed browser :o I put the source and working example online so you people can have a look how everything works.. Here is the link Please post any questions/suggestions/bugs (I know there are a lot of 'em) here :) Grtz, Tom. Easy questions first..... each forum in MSDN has a Search box. Your browser handles the searchbox correctly, mine doesn't. On the other hand I've done a lot to get vanishingpoint to work because that is actually a flash URL and is the tip of an iceberg for all of flash. ...Show All
Visual C++ Error C2894
Hello. I am writing simple pakcet sniffer and i am using WinPcap. And when i try to compile my project occurs error C2894 "Error 1 error C2894: templates cannot be declared to have 'C' linkage C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\wspiapi.h 44 ". Here is the definiton of the template: #ifndef _WSPIAPI_H_ #define _WSPIAPI_H_ #include <stdio.h> // sprintf() #include <stdlib.h> // calloc(), strtoul() #include <malloc.h> // calloc() #include <string.h> // strlen(), strcmp(), strstr() #if defined (__GOT_SECURE_LIB__) && __GOT_SECURE_LIB__ >= 200402L #define _WSPIAPI_STRCPY_S strcpy_s #define _WSPIAPI_STRCAT_S strcat_ ...Show All
.NET Development .NET Exception handling - a step backwards from VB6?
I don't know if I just don't understand .NET's error handling or what, but it's pretty clear that there's no such thing as resume, or resume next. Finally is worthless for this because unless you know the exact line that the error occurred in in the Try, how are you going to know where to resume in the Finally. It seems that no matter what exception occurs in .NET, there really is no such thing as "Handling" it. If Sub A() calls Sub B() and an error occurs in Sub B(), then your code will leave Sub B() with the remaining lines unexecuted and return to Sub A(). What is Sub A() supposed to do, other than continue on as though Sub B() was never called. If Sub B() rethrows the exeception to Sub A(), well, then Sub A() is in the same dilemm ...Show All
Visual Studio Express Editions code not associated with a button
I need to have code that collectes UDP frames from another computer (port 1234). I found some examples but the code is not part of a button. I have yet to find anything telling me how to add code that is not associated with a button. The code example is here: http://www.codeproject.com/vb/net/Silence_Socket.asp But it does not tell me where in the project/solution to put it. What window do I open and how do I open it How or what starts running the code Thanks for your time this is up to you where you wish to place the code. how you call it is up to you. you could drag a button on the form, double click this button to make a click event and place the code there, or you could have another seperate function/sub that d ...Show All
Visual Studio Express Editions MS access content change notification
Hi, How can I know if the access content is changed so that the content is update thank you Noting is impossible. At a minimun you need interpocess communications and that's something people don;t do alot in VB anyway. I think you'd be well advised to think about SQL. ...Show All
Internet Explorer Development http://runonce.msn.com/runonce2.aspx ---> Error on page ---> Done
Anybody can help me! What I have to do, for save my settings right now Ok here is the deal the MSN runonce2 is a spoof site, its purpose is to stick itself into the IE folder and never leave, it makes IE not open flash files and not open links in yahoo email, probably it does other bad things to. You can try and try to uninstal and reinstal IE 6 or 7 but it will never go away. The runonce 2 page will always show up, and it will always force download more attack ware ATTACK WARE: software commands used for the soul purpose of destroying certain utilities like anti virus or web browsers. There are 2 ways to be rid of it perminetly You can format and reinstall the operating system or remove the ...Show All
SQL Server Monitor SQL Agent job in ASP.Net
Hi all, I have a web page which calls a SQL Agent job to initiate an SSIS package. Is there any way i can monitor the job and detect once it has completed successfully At present all i can seem to get is the return status of whether the job has started or not. Any help would be most appreciated, Many thanks in advance. Grant You could query the sysjobhistory table. When steps complete, rows get written to this table. You could probably access this via SMO as well, I haven't checked. There is an instance_id which will allow you to track your specific instance, assuming you get that as a token when starting. It may depend on how you are doing this, T-SQL or SMO, I haven't looked vbery far into this, but st ...Show All
SQL Server Problem deploying reports
Hi, I have an application that involves 3 components one of which is Reports. My system's configuration: SQL 2000 - Default instance SQL 2005 - Named instance (Instance1). I provide the user with an option of selecting the SQL Server instance. If the user chooses Instance1, then I need to deply the reports in SQL 2005. The exceptions encountered during installation are logged in the Event log. When I do the installation for the in a machine, I always get the following error in the event log: Could not connect to the Report Server Database http://<MachineName>/ReportingServices.asmx . I tried giving the rs.exe options from commandline. I got an error like: Error in DetermineReportUrlSecurity(). I don't have the exact error ...Show All
Audio and Video Development iHD Simulator doesn't display video post-Windows Media Format SDK Install
After I installed the Windows Media Format SDK (9.5) for Windows Media Encoder 9, I noticed the iHD Simulator won't display video any more. The menus appear fine as normal but the background footage is completely black. The footage plays fine in WMP11. Any ideas If you can get an older copy of qasf.dll from a WMP 10 install, try copying that to the HD DVD Simulator folder and create an empty file called hdisim.exe.local in that folder. This will instruct Windows to try and load the local version of the file rather than the system version. ...Show All
