vr3h's Q&A profile
.NET Development DateTime Issue of Two Timezone!
Frist, I will introduce my trouble. I deploy the WS in one Timezone, and UI in another Timezone. UI gets the datetime info by WS, but UI can't get the right Time that equals to database. For example the WS Timezone is UTC+1, and UI Timezone is UTC+6, the Time received by UI is always add 5 hours. Is anyone can help me out Thanks! Thanks, Can I add some configsettings in WS to stop the automatic DateTime Change, and how to ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX SDK october 2006 + Vista RC2
I've head that Windows Vista RC2 will be out by the end of the week. Since the next DirectX SDK of october 2006 is still not out for now, do someone know what DirectX SDK will be compatibles with Vista RC2 Thanks. Will there be a new DX10 sdk release or a patch for the october sdk for vista rc2/rtm before the usual december release I'm intrested in this becouse I just upgraded to Vista RC2, only to find out that the dx debug don't work, and I can't wait two months before I get back to my dx dev. Should I down-grade to RC1 or will there be a patch within a couple of weeks Thanks! ...Show All
SQL Server Conlidate databases for multiple installations
1. install a SQL Express instance such as myexpress; 2. create some databases with tables such as db1 and db2; 3. Reinstall SQL Express with the same instance name "myexpress". I assume we need reinstall SQL Express myexpress again becuase of bad operations. 4. Open the myexpress by management tool but I can not see db1 and db2 databases but the datafiles and logfiles are in the data directory. The question is what I need to do so I can consolidate exited databases so they can be seen in "myexpress" instance by management tool Hmmm it seems it has nothing to do with Team System, I would recommend you to ask this in the SQL Server forums, in which you will get more help ...Show All
Software Development for Windows Vista I don't think this is a Video Driver or Bios Problem.
I'm having a problem with Windows Vista Ultimate 64 bit edtion on my HP laptop, when i close the lid but i have set up what windows does when i close the laptop to do nothing, but when i close the lid, and re open it, the screen is off/black, cant shutdown it properly and must do hard reboot. Laptop is HP Pavillion dv9000nr AMD Turion 64x2 Nvidia GeForce GO 6150 1gb memory Sony VAIO AR320 Nvidia GeForce Go 7400 Vista Home Premium Downloaded all the updates for Vista from Windows Update, and same deal for updates from Sony. Close lid action set to do nothing, but upon opening lid again screen is blank/black. Computer is still running (you can hear music and instant messenger sounds and such ...Show All
Visual Studio 2008 (Pre-release) Options I miss in svcutil.exe
How do I generate code for ServiceContracts only (without DataContracts at all) How do I auto-merge code and .config-s from >1 services at once As you mention, for 1, you can use /r, for 2, there is no option to do it. You can use Mex OM to do it if you really want it. basically you can use mexdataexchangeclient ( http://msdn2.microsoft.com/en-us/library/system.servicemodel.description.metadataexchangeclient.aspx ) to download multiple medatadataset and merge them together yourself, then use wsdlimporter to import code ( http://msdn2.microsoft.com/en-us/library/system.servicemodel.description.wsdlimporter.aspx ). ...Show All
SQL Server Activation not working
Hi There Everything works 100% until i activate my sp. I specify to execute as 'dbo' in the alter queue statement. I also define the activated sp to execute as 'dbo'. But i keep getting permission errors from my activated sp. i have tried to excute as 'sa' , i have even tried to write a job that excutes to stored procedure but it also get weird errors. Bottom line if i exceute the sp in management studio logged in as sa it works , but thorugh activation or a job nothing works, as 'dbo' or 'sa'. Thanx Hi Remus Lastly, it also mentions in Roger Wolters book that if you do not stipulate execute as for your activated sp it will execute in the backgrouond as a sysadmin. However if i do ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Optimizing Multi-Rendering of the Same Model
If i need to draw multiple game units ( ex: spaceships) in a scene ( they all have the same model ) whats the best way to do it Lets say the spaceship model has 4 sub meshs ( engines, wings, weapons, something else ) Currently I render each model by calling a function like this for each ship: Effect eff; Model model; eff.Parameters["blah"].SetValue["someValue"]; foreach(ModelMesh mesh in model.Meshes) { eff.Begin(); foreach(Effectpass pass in eff.CurrentTechnique.Passes) { pass.Begin(); foreach(ModelMeshPart part in mesh) { // set the texture for this part // draw the part } pass.End(); } eff.End(); } Currently if there are 500 same ...Show All
SQL Server Querying for report rendering stats?
Is there a way to determine how often a specific report has been viewed by a user I have 30-40 reports set up (rendering from snapshot), and I'd like to determine which reports are the most frequented. ...Show All
Windows Forms ClickOnce in .Net 2005
Hi, I would like to implement automatic updates to my application (which is in C#). I’m quite confused, I heard that there is ClickOnce\ Updater Application Block built in .Net 2005, is it correct How do I use it Were can I find relevant tutorials In the MSDN site I could find only the Updater Application Block for .Net 2003 Thanks, Gil You might want to read some messages in this forum about the issues with ClickOnce and certificate expirations. (I don't have a URL handy. Sorry.) In a nutshell, once your certificate expires, your users will have to uninstall and reinstall the app. to get updates. Renewing a certificate won't work as far as ClickOnce is concerned. The only work around is to generate a t ...Show All
Internet Explorer Development Javascript bug?
I created a javascript file that contains a series of functions for popup windows to eight diffrent info blurbs and found IE 7 displays a completely blank (white) page when calling the script via this method: <script language="javascript" type="text/javascript" src="../includes/pop_windows.js" /> For the record, I tested same in Firefox, and it plays with it just fine. Frustrated, I resorted to the less efficient (in my opinion) method of calling the scripts from the <head> section of the source page itself, i.e.: <script language="javascript" type="text/javascript"> <!-- function p1() { aWindow=window.open("p1.htm","thewindow",& ...Show All
Smart Device Development Terminal services on ppc
Hi, If I start up terminal services client, i want that i automaticly connect to my server. Now I had to click on one of the recent servers and than 'connect'. How do I solve this so I don't have to click but automaticly connect to the server Thanks by advance grtz This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. If you’re having a hardware issue, please contact hardware manufacturer or reseller. If you having an issue with 3rd party software, please contact respective software manufacturer or reseller. Otherwise please post to relevant forum or news group: http://support.microsoft.com/newsg ...Show All
SQL Server 2 similar queries - different results! Why?
SSAS2005. Tell me please, why this query SELECT { [Measures].[Internet Sales Amount] } ON COLUMNS , { [Product].[Product Categories].[All Products] } ON ROWS FROM [Adventure Works] WHERE ( [Product].[Category].&[ 1 ] ) returns: $29,358,677.22 but SELECT { { [Product].[Category].&[ 1 ] } * { [Measures].[Internet Sales Amount] } } ON COLUMNS , NON EMPTY { [Product].[Product Categories].[All Products] } ON ROWS FROM [Adventure Works] returns different result: $28,318,144.65 If I replace [Product].[Category].&[ 1 ] on [Product].[Product Key ].&[BK-M18B- 40 ] then results are identical! $25,919.52 Thanks. Hi Richard. MS will make a change! Will this mean tha ...Show All
Visual C# C++ code to C#
I spend few hours trying to rewrite one code which is about 100 lines long... There are using memcpy, memset and etc in C++ code, maybe someone could help me to make it work .. I am just beginner in C# and C++.... Just write replay here or e-mail (my e-mail: cybaslt@hotmail.com) You're right. That's just not going to work. The problem is that the C++ code does a lot of things that are just not allowed in C# (or in managed code at all for that matter). Mainly, using memcpy to fill an object would bypass that object constructor, which is a no-no. Basically, the C++ code (which is really just C code with a few minor changes -- the typedef on the struct definition is the real giveaway), reads a file in ...Show All
SQL Server Event Notifications don't fire when raised by Activated procedure
I have an activated SP that is issuing PRINT statements. These are raised as ErrorLog and EventLog events when using SQLProfiler However if you attach an event notification for ERRORLOG and EVENTLOG, nothing appears in the queue. Any other ERRORLOG or EVENTLOG event caught by profiler is caught by the event notification as expected. Done including a repro https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx FeedbackID=230910 ...Show All
Smart Device Development Access command prompt in the emulator
Can any way we can go to the command prompt in the emulator. I want's to start one service using services.exe on the command prompt Thanks JR Lyon We are working on a smartphone application which is a conversion from pocket pc. In pocket pc we have a application in which a dll is registered in the today item.Whcih have to be always runing. Now as it is [Today] not supported in smartphone so we have decide to install it as a service. We we are using C# with CF2. ...Show All
