Software Development Network Logo
  • Visual C++
  • Microsoft ISV
  • Visual Basic
  • Windows Forms
  • Visual FoxPro
  • Visual C#
  • .NET Development
  • VS Team System
  • SQL Server
  • Game Technologies
  • Audio and Video
  • Windows Vista
  • Visual Studio
  • Smart Devicet
  • SharePoint Products

Software Development Network >> EdenZa's Q&A profile

EdenZa

Member List

Amos Soma
madhi
OOMama
Anthony Sneed
learning1314
WinFormsUser13232
sureshsundar007
LonelyPixel
anily
sagittarian
Tom Medhurst
*Elad*
itsryan
MotteKarotte
pccoder
Esprit
imranmp
Claudiu Chiorean
VRATZ
MichaelLee
Only Title

EdenZa's Q&A profile

  • Visual Studio 2008 (Pre-release) Mouse-less ListBox - keystroke is being eaten

    I have a very simple scene - A single ListBox control with 5 items added. I want the first item selected upon initialization, and to allow the user to use arrow controls to scroll through the list. After initialization, I am doing the following: MenuListBox.SelectedIndex = 0; MenuListBox.ScrollIntoView(MenuListBox.SelectedItem); MenuListBox.Focus() So this successfully sets the the first item as selected, however, it takes two user actions to select the next ListBoxItem (i.e., you have to hit the down arrow twice. Which is really counter-intuitive. I am not sure who is consuming the first down arrow event, but my guess is that it is moving the focus to the first ListBoxItem (which I guess I actually want to have focus initially). ...Show All

  • SQL Server Error -2147024809 An error has occured on the computer running IIS

    I am sync. for the first time (Merge Replication using SQL 2005 and Mobile) and this error keeps poping up on the emulator. I am tring out the tutorial. :) boss on my butt. Does anyone have any ideas or a solution to this...your help is WELL APPRECIATED ... Error code: -2147024809 zo No, I haven't ran it on the CE device. I am using the emulator first, I figure if it woks there it should work anywhere else...but, I will change the URL and see what happens. Let you know in a minute. ...Show All

  • Visual Studio "Unable to start debugging" error on x64

    I'm using Visual Studio 2005 (SP1 beta) on Windows Server 2003 Enterprise x64 Edition. If I create a new project (Console or Windows application) and then press F5 I get an error dialog stating: Error while trying to run project: Unable to start debugging. Either the applicaiotn has not called WSAStartup, or WSAStartup failed. This happens with the active solution platform set to either "Any CPU" or to "x64". If I change the active solution platform to "x86" everything works fine. Does anyone know what might be causing this problem and how to fix it Thanks, John. Thanks for the help - great to hear this will be fixed in the final SP1. In addition to specifying the start pag ...Show All

  • Smart Device Development certificateProblem parameter values in System.Net.ICertificatePolicy.CheckValidationResult

    Hi ppl, I am trying to access a SSL website using HttpWebResponse.GetResponse() method from a windows mobile 5.0 app. I have assigned my own policy for validating the certificate errors to ServicePointManager .CertificatePolicy by implementing ICertificatePolicy. The ICertificatePolicy.CheckValidationResult () definition is bool CheckValidationResult( ServicePoint srvPoint , X509Certificate certificate , WebRequest request , int certificateProblem ); http://msdn2.microsoft.com/en-us/library/system.net.icertificatepolicy.checkvalidationresult(VS.80).aspx where certificateProblem represents the problem that was encountered when using the certificate. ...Show All

  • Windows Forms ControlPaint.DrawReversibleLine() - are there more options?

    Hi, It seems to me that the options available for drawing lines with ControlPaint.DrawReversibleLine() are quite few (none really) - is there any way I can change the line that is drawn I would like to have a punctured line (like te one Excel uses when resizing rows and columns). Thanks for your help, Cheers, Mikael Not really. ControlPaint.DrawReveribleLine() uses a special trick that was popular way back in the days of Windows 3.0. It draws a line with SetROP2(R2_XORPEN) . That lets it erase the previous line drawn by simply drawing it again rather than completely refresing the image. Speed was the concern back then when video adapters were slow. That's not (really) the problem anymore, just draw your line using t ...Show All

  • Windows Forms Stupid problem with a Label in a statusStrip

    Hi, i have a label and a progress bar in a statuStrip in my RSS Reader application. I want that a message like "Update in progress" is displayed in the label during the update of the RSS feeds. So, before i start the update, i simply set: statusLabel.Text="Update in progres..." and, when the update is complete, i do: statusLabel.Text="Done". The problem is the message don't appear! I've tried to change the label text in other parts of the application, and it works. I've tried also to change the message "Done" with something else, and it displays it. But there is nothing to do, when i press the refresh button of my application, the label text still remains "Done". What can i do The progress bar near the label works perfectly too! The crazy ...Show All

  • SQL Server Pre-Execute Phase

    What happens during the pre-execute phase Is there anything I can do to optimize it's execution I have a package that takes data from 2 SQL Server sources, unions them, and writes to a sql table. The pre-execute takes 20 minutes, and the execution takes 45 seconds. Thanks BobP This is happening on several packages:  1.  The example above takes 2 sql server source, with queries returning ~5,000 rows each, unioning them and writing them to a sql table, with no lookups.  The pre-execute takes 20 minutes. 2. Every once in a while, a job that I have that runs every night, will freeze on the pre-execute.  No errors, the job appears to be still running, but it is not doing anything, no processor act ...Show All

  • SQL Server Can't set the owner to the current login

    I'm using express edition, compatibility set to 2005. I'm logged in as DOMAIN\user , using windows authentication. When I try to set the owner to this login, I get a "login does not exist on the server" error. Setting the owner to sa works fine. Any fix to this problem Also - can I just work with the owner set to sa or can this cause problems in the future Thanks. Buck, Thank you for trying to help. The diagrams work fine - but the thing is that I have to set the owner to sa in order to work with them. The problem is that although I am logged in as DOMAIN\user , the server claims there is no such login when I try to set the database owner to that login. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Solution to Finding Skin Weight Indexes

    DELETED BECAUSE BETTER SOLUTION WAS FOUND Ok, I got vertex blending working.  Their indexing system is quite simple - int curIndex = 0; private void GetBoneIndices( NodeContent root) {     if (root.Name != null )         boneIndices.Add(root.Name, curIndex);     curIndex++;     foreach ( NodeContent c in root.Children)         GetBoneIndices(c); } ^^ that creates a bone-name/bone-index dictionary.  Its nothing but a simple preorder traversal (just like you said). I deleted my hack above so as to not mislead people into a more difficult solution. Sometimes I overlook ...Show All

  • Visual Basic how should we declare long numbers

    when dealing with long numbers in appllications like: 1000000000 up to 9999999999999 in what type is it better to declare them in VB and in the sql side vb: (int, long, string or what...) sql: (varchar, bigint.....) Thanks VB I would have said long (which is Int64 I believe) and in Sql BigInt Int64 has a maxvalue of 9223372036854775807 take a look at this in regards to SQL: http://www.databasejournal.com/features/mssql/article.phpr/2212141 http://msdn2.microsoft.com/en-us/library/ms187745.aspx ...Show All

  • Windows Forms Tab text length

    Hey, How do you make it so if the length of text int he tab is more then 19 text charicters then after 19 it will put: ...       Thanks :) Is that C# becuase I got ALOT of errors, and I dont think Then is C# becuase I could never get it to use Then... Ya I think that is Visual Basic, could you give me it in C# please       Thanks :) ...Show All

  • Software Development for Windows Vista How can i send pictures to my device?

    Hi everybody I have just started to write a gadget(I'm a newbee), I already know how to send glance content, also i know how to send XML pages, the only think im missing is how to send pictures. can someone can share a piece of code as a reference sample for me I tried the following: Scf .Img(5, ScfAlign .Center, ScfImageFit .Auto, "Gato.jpg" ) but the only thing displayed on my device is a "X" mark. any help would be appreciated. Rene I have not used the Managed library yet but here is my guess: The Scf.Img tag merely specifies a reference from a content page to an image. The image itself is a seperate page but instead of being made up of XML it is a ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. External Tools

    As we've heard Microsoft have been in touch with garage games to get torque on XNA. Have they been in touch with any other devs or will they be developing other in house tools for game creation Maybe they should speak to the Unity guys who are making great indi game tools for the Mac. http://unity3d.com/unity/index.html Unity for Windows on Xna would be awsome. Thanks for the info, I'm still a little stuck though. None of the plugins from that link support XSI. The SDK seems interesting but don't have time for it. I installed the converter and it seems like it would be usefull but XSI does not export any of the formats that the converter inputs. .Obj maybe but the export .obj option in XSI is greyed out. ...Show All

  • SQL Server Reference axis(2) members in MDX

    Hello everybody. I've got a little problem: I want to reference axis(2) members in a calculated member, so I can use multiple selection. I've tried: with member [Measures].[Test] as 'settostr(axis(2))' select {[Measures].[Test]} on 0, {[Dim Sales Territory].[Sales Territory Region]. members } on 1 from [Adventure Works DW] where ([Dim Geography].[Country Region Code].&[US], [Dim Geography].[Country Region Code].&[CA] ) However, I get an error. Is there any other way Thanks a lot, Santi You could use the Existing function: >> with member [Measures].[Test] as settostr ( Existing [Geography].[Country].[Country]. Members ) select {[Measures].[Test]} ...Show All

  • SQL Server Join 2 table with our relation

    is there any way to join to table with out relation I mean conect tow table row by row Hi Phil Brammer This question I asked is for join a table and a tabled function . see bellow: table_1(fkey,ordernumber,product_id) function(product_id) : (max_buy_date,Last_Buy_Fee) can u join them together I think with row_number I can but I haven't checked yet... ...Show All

©2008 Software Development Network