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

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

Ori'

Member List

JohnCR
John Campbell-Higgens
glasgow1
HalF
brad0999
silentk62
4lb3rt
Westonm
Scott Bellware
Geeee
Chris128
Narayan19
AshiTenshi
andriscs
Vishalgiri
NewbieDude
leo1
musafir-a Voyager
Alastair Q
Kevin Dente
Only Title

Ori''s Q&A profile

  • Connected Services Framework Service Oriented Architecture ??

    I will like to create SOA which has a business layer, data layer and presentation layer. I was wondering do I have to do anything special to set the above up or how can I proceed with doing that Hi, Your thread seems to be more appropriate here and hope you find satisfactory answers. Thank you for understanding ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 2d resets with nuclex fonts?

    I've done the resets from Shawn Hargreaves blog and it's worked in the past, but since i moved over to the nucles font engine these dont work(even in a minimalistic demo setup). The model(s) are still skewed.... anyone have a workaround Did you try the TextManager class That's what I use and I don't mess with resetting the settings manually. Just create a TextManager class like anything other game component: TextManager manager = new TextManager(this); Components.Add(manager); And then when you render a string instead of using myFont.DrawString(...); You would use manager.DrawString(myFont, ...); And it handles all the resetting after the fact. I believe that should help you out. The TextManager fixed all my problems anyway. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Problem with Buttons.Back

    I have several Microsoft.Xna.Framework.DrawableGameComponent derived objects that I use, one for each game state (the components are called MenuView, GameView). In MenuViews update method I check for back button pressed and exit the program. In GameView, I want the back button to take me back to the MenuView. So in the GameView update code, I check for it and if thats true set my state back GameStateMenuView. But the program exits anyways. This because the MainView also sees the back button as pressed. Is there a way to clear the button states or how do I handle this Thnx Matt Have a look at the keyboard example in the Documentation, you could set the Controller to have an old and a new state. Then ...Show All

  • Visual Studio Express Editions Running a exe application from a form but in minimize mode

    How can I call an exe appliation from a form but in minimized mode Take a look at the ProcessStartInfo class: http://msdn2.microsoft.com/en-us/library/system.diagnostics.processstartinfo.aspx once configured, simply set the WindowStyle to ProcessWindowStyle.Minimized. Example: Dim the PSI as new ProcessStartInfo("fileName.exe") thePSI.WindowStyle = ProcessWindowStyle.Minimized Process.Start(thePSI) is this what you are after ...Show All

  • Visual Studio 2008 (Pre-release) how to force wpf uielement to repaint?

    Hi, If I update UIElement.content, is anyway I can wait until the new content is displayed before I do any work My code is like this //a user action triggers the following code label.Content = img //img is an Image object I created dynamically in the code, //code t o process the new loaded image. for example, render the updated page to an image file The problem is the new image won't show up until the function quits. I try to use img.loaded event but the event is fired before the image is displayed. thanks a lot chong Usually when you're trying to force a control to update you're doing the "wrong thing" in WPF. In your case I would recommend making a call to Dispat ...Show All

  • .NET Development How to check if I current user has the permisson for a Dir

    How to check if I current user has the permisson for a Dir ======================================== Before I want to create file, I want to check if I have the permission for the directory. Now I do like this: FileIOPermission filePermission = new FileIOPermission(FileIOPermissionAccess.Write, @"\\computer_name\dir_name"); try { filePermission.Demand(); MessageBox.Show("Permission demand successful"); } catch (SecurityException securityEx) { MessageBox.Show(securityEx.Message, "Security Exception"); } However, whatever I chage to the dir's permission, it will show "Permission demand successful" Furthermore, I want to use DirecotrySecurity like this, but I don't know how to continue to check the righ ...Show All

  • Visual C# Username and passwords using C#

    Hey I wrote a Password manager IE plugin using C#. Now its fillinf up usernames fine everywhere. It also fills passwords well for many web pages but for some pages the passwords do not get filled at all. I am using HTMLDocumentClass.all.item("Email",0) etc. to fill usernames and passwords. Here is the code: string selectedItem = comboBoxChooseService.SelectedItem.ToString(); string password = AuthenticatePassword.getPassWord(selectedItem); string username = AuthenticatePassword.getUserName(selectedItem); HTMLDocumentClass doc = new HTMLDocumentClass(); doc = (HTMLDocumentClass)this.Explorer.Document; Object input = doc.all.item("email", 0); if (input == null) ...Show All

  • Visual C# abstract class vs interface in term of speed

    Hi guys, I read every whare abstract class are faster then interface because interface require extra in direction. i want to know about how compiler deals with interface and abstract class. Thanks iExample.Test() and cExample.Test() both "Test" method having same code. Thanks Mahesh http://geekswithblogs.net/mahesh ...Show All

  • Visual Studio 2008 (Pre-release) Build with Errors?

    Not quite sure what it is that I'm doing wrong. I've installed the previews and run the IDE integration tool. I can get the samples to build(with the ';' expected errors) and I've even been able to get sqlmetal to run against my database and have even been able to add code to the samples that use my sqlmetal-generated code and build(with errors) and run. But, when I create my own solution/project from scratch, I get the same build-time errors that I received when using the sample projects, but I can't get my projects to build and run. Is there an option that I'm missing somewhere Thanks in advance! It sounds like there was a problem integrating VS with LINQ in the install. You may want to search th ...Show All

  • Windows Forms How do I play a sound from my Applications Resource file?

    I have added my sound to my applications resource file... But when I go to call on it: Manage__.Properties.Resources... It does not show up in the list of resources. All my images show up in the list, just not any of the sounds I have added. All my sounds are in the .wav format.... Any ideas as to why I can't access them (I am using C# Express) Hi Dave, I tried, but i couldn't reproduce it. (I added it through Resources.resx, chose Audio and Add Resources. ) By the way, is 'Manage__' your namespace Or have you tried to use the manifest resources, which are embedded with no type information ...Show All

  • Visual Studio 2008 (Pre-release) ScaleTransform.ScaleYProperty - XAML

    Hello Is there a way to animate ScaleTransform.ScaleYProperty in XAML. I guess the answer is no... Thought someone might have figured it out... Thanks Houman Is this what you are looking for < Border Name = " target " Height = " 200 " Width = " 200 " Background = " yellow " > < Border.LayoutTransform > < ScaleTransform /> </ Border.LayoutTransform > < Border.Triggers > < EventTrigger RoutedEvent = " Rectangle.Loaded " > < BeginStoryboard > < Storyboard > < DoubleAnimation Storyboard.T ...Show All

  • SQL Server parameterized update sp_executesql

    I am trying to limit network traffic by only sending fields that have actually changed to an update stored procedure. I am obviously not doing this correctly as I am rather new to this. This is a small version of my sproc that I am using to test the workings. I am getting 'Error converting data type nvarchar to int'. If you can help me get this easy query working, I would very much like your help to use the EXEC (sql) where sql is an sp_executesql statement because some of my update fields are much larger than 4000 nvarchar. The following statement was working when I was using the second version. If I am trying to update an integer foreign key field, shouldn't I try to use the parameters to send an integer value for that field, rather than ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Conceptual problems with XNA/DX3D10

    Conceptual problems with XNA/DX3D10. I read comments on the forum & other materials and it seems that the conceptual understanding of XNA/DX is not well presented by Microsoft. I am interested in managed XNA = MDX, for many reasons, however, I did not program yet in XNA. I am trying to know how to structure my application (Not a game) to use XNA/DX3D10. 1- WPF is slow to use for 3D application like GDI++ before Vector graphics is easy and simple to operate form for 3D, based on historical development of graphics education. However, WPF (I can see) is very suitable for such application as Solid Modeling, and it is not a speed problem, why, because in CAD/Solid Modeling no speed is needed it will l ...Show All

  • Visual Studio 2008 (Pre-release) Drag element on Grid

    Can we drag element on Grid I have seen lot of examples by using Canvas, but I need Grid as container for Dragging the elements. Cheers Hello, I guess you would be dropping the element on the Grid the same way as you would do it on the Canvas. The only difference I see that element dropped on the Grid needs to be added into an appropriate Grid cell. I used such code to achieve that: private void PositionInGridIfNecessary(FrameworkElement child) { DependencyObject parent = LogicalTreeHelper.GetParent(child); if (parent != null && parent is Grid) { Grid grid = parent as Grid; if (grid.ColumnDefinitions == null || grid.RowDefinitions == null) ...Show All

  • Microsoft ISV Community Center Forums Avoid message boxes during macro?

    I make a macro with several steps, one of them deleting the current worksheet. You get a message window with the question if you really want to delete it. Can you build in the "YES" answer in the macro so the user don't have to click yes everytime he runs the macro thanx! Bart Hi, I've been using this option but do you have any other alternative for the same. I've used it but for one of my module its not working. So can you please give me a way out ...Show All

©2008 Software Development Network