Stretchcoder's Q&A profile
Visual Basic Using Application Settings??????????????????????
I need to save an array of about ten elemnts in the application setting as application wide setting user scoped I've tried in settings page of My project properties but I don't figure out how to do it is there is any way to do that if there is no way has any one an idea of the best way that I can have the general Idea done no One dimension array like Dim Myarr(10) As String that I need to store in application settings ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Font Support!!!
I haven't really looked to much but as far as I can see there is NO FONT SUPPORT IN XNA!!! Someone else asked earlier while XNA was still in Beta 1 if there was going to be font support. The answer was that it was in production. So my question is WHERE IS IT ! ! ! ! Plz get font support my font class is not really the best so PLZ GET FONT SUPPORT!!! And I also want to know if it's possible to convert the XNA GraphicsDevice to a DirectX GraphicsDevice so I can draw the font with the DirectX class. You're the 13 year old genius, you tell us Font support is on it's way from Microsoft, they are currently working on a component (which I saw in use at the release party in Seattle) but it's not out officially yet. Time frame: ...Show All
Audio and Video Development An interesting survey: HD-DVD vs. Blu-Ray
A survey from http://www.dvdtown.com/announcement/hddvdsurveybyipsos/3665/ 1. In response to the question “Which statement best describes how likely you would be to buy an HD DVD player,” respondents were over seven times more likely to buy an HD DVD player vs. a Blu-Ray player when all studios support both formats. a. 57% would definitely or probably buy an HD DVD player vs. 8% for Blu-Ray. b. 25% would definitely buy HD DVD vs. 2% for Blu-Ray. 2. Purchase interest in HD DVD remains three times higher than Blu-Ray -- even without HD DVD studio support from Disney and Fox. a. 56% of respondents would definitely or probably buy an HD DVD player vs. 18% for Blu-Ray. b. 20% would definitely buy HD DVD vs. 6% for Blu-Ray. ...Show All
SQL Server message lost
Hi... My service broker was working...all of a sudden it stopped working...so i figured out destination queue was disabled and I set it as ALTER QUEUE SERVERQUEUE WITH STATUS = ON , RETENTION = ON , ACTIVATION ( STATUS = ON , PROCEDURE_NAME = usp_OnReceiveMessage , MAX_QUEUE_READERS = 5 , EXECUTE AS OWNER ) Also altered my database for trustworthy after going through some posts previously. Now the message is sent...i dont see any message in my tranmission queue but i dont receive the message in destination server. When i checked endpoints... select * from sys.conversation_endpoints I see the last message with st_desc as conversing... how do I solve this... Thanks, Pramod ...Show All
Visual Basic MenuStrip and StatusStrip update problem in VS2005
Hi, I have a program with a main window (MDI parent). This window has a MenuStrip and a StatusStrip. The MenuStrip has some items disabled and enabled depending on who is using the program. The StatusStrip shows the current user. I public subroutine is used to update both the MenuStrip and the StatusStrip. If the update subroutine is called from the main window (for example by clicking on a menu item that calls the subroutine) everything works just fine. I have created a login form. This window calls the update subroutine in the main window to update the MenuStrip and StatusStrip before it closes itself. The problem is that the MenuStrip and StatusStrip is not updated! If the Immediate window is used to look at the properties of t ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Will XNA Game Studio Express support multiplayer? (on the 360)
Please, please tell me that XNA Game Studio Express will support multiplayer... Singleplayer games are fun, but multiplayer games are 10x as fun. abi wrote: ... to support full multiplayer support. For the XBox 360 you have to wait for the next release of the XNA Framework. By 'next release', and considering that we're talking about the beta here, do you mean RC1, or v1.0, or do you mean a subsequenet version such as v1.1 or even v2.0 The real question is how long will we have to wait before we can create collaborative 360 apps or multiplayer 360 games Reading between the lines so far, my guess is early-mid 2008. DT. ...Show All
Windows Forms Highlighting in Grid View.
Hi I'm choosen to use the data grid view to display notes. There are two colums, Date/Time and Notes. Is the data grid view the best way These notes have different servrities. So if its high severity I want to be able to change the row color to red. Is this possible Also in datagrid view how can I make it so that the size of the row changes to fit all the text in it Some notes are longer than others, can it dynamicaly change size acording to the lenth of the note The code provided in those expamples seems to be out of date. I belive those examples are for .net 1.1 Is there any site with 2.0 examples ...Show All
Smart Device Development How to Merge *.reg File From Code
Hello, Reg files usually are merged automatically during Cold Boot. Is there a way of merging a reg file from code (Something different than reading the file, parsing it and manually calling Reg functions from API.) The only thing I was able to find out about the issue was information about existance of RegMerge.dll. Thanks, Artur Good point. However, if you actually choose that item it would ask you "If you'd like to add it to registry" not if you'd like to "merge it". Menu in regedit states "Import". Another point would be what not everybody’s using explorer to import/merge/add registry files, some prefer command line or Start/Regedit/Import and might never see ...Show All
Visual Studio Express Editions To tap the default mail client for Windows
hi i am trying to write the code to tap the windows xp default e-mail client through vb can any one suggest chandan Unsure of what you mean by tap but So if you just want to send an email with the default client. http://www.codeproject.com/dotnet/Default_mail_client.asp and uses process.start - windows will use the associated default application for the email. If you want to know what the executable is for the current default email client. This is stored in the following registry key [HKEY_CLASSES_ROOT\mailto\shell\open\command] In my case it displays "C:\PROGRA~1\MICROS~3\OFFICE11\OUTLOOK.EXE" -c IPM.Note /m "%1" Which is the outlook executable with a few command line parameters. ...Show All
Visual Studio 2008 (Pre-release) DataBinding vs Static classes
Working on May CTP... I'm trying to bind to a static class : public static class MyCommands { public static RoutedCommand ClearAll; static MyCommands () { InputGestureCollection ic = new InputGestureCollection(); ic.Add(new KeyGesture(Key.P,ModifierKeys.Control)); ClearAll = new RoutedUICommand("ClearAll", "clear", typeof(Window1),ic); } public static string Name { get { return "ok"; } } } And trying to use it on a Menuitem <MenuItem Name="mi1" Command="c:MyCommands.ClearAll"" Header="x:Static c:MyCommands.Name}" /> Everything works fine if i remove static operator on classe definition, any idea why I don't know what happened to you, but this followin ...Show All
Windows Live Developer Forums ASP.NET Virtual Earth Mapping Control
Here's a link to an ASP.NET Virtual Earth Mapping Control that I'm developing. http://pietschsoft.com/product/ve3 Like a few others, I was using the control that Chris had on Codeplex (it also worked on VE4) and like many others, I was waiting for him to release his new version that he kept saying was coming. What he didn't say is that it was going to cost $500/server. When I saw what the price of the new controls was, I started playing with VE6 and had all the functionality that I needed using JavaScript and Web Services in about a week. It wasn't that difficult, but then my needs weren't that great - Yahoo traffic overlays, a few restaurant overlays in Chicago and the ability to click and send a series of lat/l ...Show All
Visual C++ Visual Express to Standard Edition.
Visual Express to Standard Edition. I downloaded Express to evaluate C++ 2005. A problem with FileStream was resolved by opening and closing the stream for each action to my database. On a large report doing random reads endless opens and closes might be a problem. On the Standard Edition can I use MFC CFile IO instead of FileStream using the new syntax (i.e. gcnew etc.). Another issue of concern is debugging. On versions 2003 and 2005 express everything of interest to a malfunctioning function is out of scope - including the argument to that function. Has this been addressed on the 2005 standard edition It's not clear what you're asking about scope, but the behavior of the C++ compiler itself is identical bet ...Show All
SQL Server Transaction in trigger
Hello, I have one insert and one update in my insert update trigger. Is there any problem if I use Begin Transaction, Rolback transaction or Commit Transaction if both insert and update do not succeed You should read in the Books-online about transactions inside of triggers. Look up Triggers, Rollback Transaction. There are ramifications for remaining statements within the trigger and the batch that caused the trigger to fire. The big issue is that, while a Commit only commits the outermost transaction, a Rollback works on all open transactions. What you might not expect is that there is an implied transaction whenever a trigger is running. ...Show All
Gadgets Image PReview
Hi, I need to know how to use an image preview script in the settings.html part of my gadget, because i added the ability to change backgrounds of the gadget it would be nice if i could use an image preview script to show the background before applying it to the gadget. please let me know guys!! TIA for all your help. here is my settings.html (perhaps you could modify your code for me and you will recieve credit where due) <html> <head> <style> body{ width:250; height:120; } </style> <script> function init() { var strbackgroundcolor = System.Gadget.Settings.read("ba ...Show All
SQL Server ASP AND SQL SERVER 2005
i cannot connect to my local server.my code is <% ad=request.form("ad") soyad=request.form("soyad") email=request.form("email") dim conn set conn=CreateObject("ADODB.Connection") conn.open "Server=./SQLEXPRESS;Database=NEWSWORLD;Trusted_Connection=True;" sqlifadesi="insert into user_info(ad,soyad,email) values('"&ad&"','"&soyad&"','"&email&"')" conn.execute(sqlifadesi) conn.close set conn=nothing response.write "bilgileriniz kayit edildi,Ilginiz icin tesekkur ederiz" %> it shows error page in conn.open "Server=./SQLEXPRESS;Database=NEWSWORLD;Trusted_Connection=True;" i dont ...Show All
