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

Software Development Network >> Godai B's Q&A profile

Godai B

Member List

Aleniko29139
Abel Khumalo
Christian Frießnegg
Martin Rajotte
Pete R
kevin D. white
Fippy
Srekel
Gavin Clements
Luis Carlos Guimarães
walter_verhoeven
Amos Soma
Namrata Prashar
Mathew1972
mr4100
vb2005
Beej
pablog
giba7
Pavan Battula
Only Title

Godai B's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. My new Home Page

    I opened a new site with blog and forum about my samples and tutorials. Of course there you can download my projects and see theirs pictures. If you wanna see it follow this link: http://tonigreco.spaces.live.com/ Soon I will add projects for Beta 2 version too. Bye Toni Thank you for this help. I will converts to Beta 2 when I will have free time, I hope soon. In the while time if somebody wanna help me, he can do some converts for me, so I keep this version on for now to download. Toni ...Show All

  • Visual C# Convert string to operation

    Hi! Is it possible to convert strings to operations in a relatively simple way For example convert this string: string OperationInString = "3+3+9"; somehow, so I get back "15". Thanks in advance. ;) Wow you're expert! I guess it takes an amount of infinity^2 time to get to this level of knowledge. :) Thank you for that long piece of code, though I must admit, I get lost hopelessly while interpreting it after the 5th line. :) I hope at least I can implement it into my project. It does what I want it to do in itself  so far, I'll see what bugs show up with my stitched-together project. ...Show All

  • SQL Server MDX with parameters using OleDb?

    I'm trying to run an MDX query with a parameter. It works fine with ADOMD.NET, but I can't get it to work using OleDb. (I have to use OleDb because of limitations of the calling application.) Is this possible The following code works: //using Microsoft.AnalysisServices.AdomdClient; string MDX = "with member [Measures].[Test] as Str(@Param1) " + "SELECT [Measures].[Test] on 0, " + "[Product].[Category].[Category].Members on 1 " + "from [Adventure Works]" ; AdomdConnection conn = new AdomdConnection ( "Provider=MSOLAP.3;Data Source=localhost;Initial Catalog=Adventure Works DW;Integrated Security= SSPI ;Persist Security Info=false;" ); conn.Open(); ...Show All

  • Visual Studio 2008 (Pre-release) How to override instance property value with style value?

    Hi, I am trying to create style for my button which would set its color, font type, size and so on. Unfortunately, it seems that button instance values take precedence over template values. Is there a way to change precedence such that style values will take precedence What I would like to achieve is that in following sample my button to have text 'Hello' and background to be black: < Style x:Key = " GeneralButton " > < Setter Property = " Control.Background " Value = " Black " /> < Setter Property = " Button.Content " Value = " Hello " /> </ Style > ... < Button Background = " #FF008000 " Style = " {StaticResource GeneralB ...Show All

  • SQL Server Database is slow to access after being idle for some time

    I've noticed that after the database have been idle for some time, it takes up to 10 seconds to get it started when something needs to access it. In the event viewer it says that the database <name> have been started. Obviously, there is some idle timeout setting. I saw an option in the database properties that is called "Auto Close" which is set to true. I assume this is what i'm looking for. Can someone confirm that (it could take some time to test myself...) But what i'm actually wondering is: 1. Is it possible to adjust how long it would wait before timing out 2. What advantages does closing the database bring Does it free up (a noticeable amount of) ressources Or is it only that it's unlocking the files, so that it ...Show All

  • Visual C# __DATE__ equivalent

    I'm new to C# coming from a C background. I would simply like access to the build date of my application. In C, I could do this using the __DATE__ macro. How would I do this in Visual C# TIA JeffM I guess there is no way to do that. C# does not allow defines with values. It allows only "is defined" or "is not defined". -- SvenC ...Show All

  • Visual Basic Connection to a sql data base

    Could someone tell me where the mistake is in this code : Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim MaChaineConnection As String = "Integrated Security=True;User Instance=True;database=BaseDonnes;server=localhost\SQLEXPRESS" Dim MaConnection As New SqlConnection(MaChaineConnection) Dim Instruction As String = "insert into TableNom (Nom, Prenom) values ('aaaaa', 'bbbbb')" Dim MaCommande As New SqlCommand(Instruction) MaCommande.Connection = MaConnection MaConnection.Open() MaCommande.ExecuteNonQuery() MaConnection.Close() End Sub the error message is : sqlex ...Show All

  • .NET Development How can I tell if I am being called from funceval

    Hello Mike, I have the same problem, but my situation does not involve multiple threads. I have written my own debug trace listener, so that I can display my own "Assert Failed" dialog. If I hit a breakpoint and examine a variable, the code being executed by the funceval sometimes fails an assert, and this tries to display my assert dialog. The dialog doesn't actually appear, but the funceval times out waiting for user input to the dialog. The funceval returns with "Function evaluation disabled because a previous function evaluation timed out", and then I can't continue and have to restart. How can my trace listener know not to display the Assert Failed dialog because a funceval is being run from a breakpoint Thanks i ...Show All

  • Visual Basic How do I attach an event handler ?

    Hi, I'd like to know how to attach an event handler in VB, There is a C# sample code in this URL that I want to convert to VB (Figure 8) http://msdn.microsoft.com/msdnmag/issues/06/01/speechinWindowsVista/default.aspx loc=&fig=true#fig8 I have succesfully converted every lines to VB except those : //Attach an event handler pizzaGrammar.SpeechRecognized += new EventHandler<RecognitionEventArgs>( PizzaGrammar_SpeechRecognized); Every attempt I try to fix it, I'm told that I need to use AddressOf, but when I use it, It must have two arguments, and I'm unable to set the last. pizzaGrammar.SpeechRecognized = New EventHandler( AddressOf RecognitionEventArgs , pizzaGrammar_SpeechRecognized) ...Show All

  • Windows Forms datagrid row select

    hi, i am jerry_sun i use .net framework 1.1 and visual stadio 2003. i have a problem on datagrid. when i click the last row header of the show area to select by mouse, the scrollbar move one row , and the next row also selected. is this a bug of datagrid thank you ...Show All

  • .NET Development Error passing parameters to Fillby Query

    Hi, I'll try to keep this succint. I'm using VB into an Access DB with an ODBC connection. I wrote a fillby query that looks exactly like this: SELECT     OrderDate, Notes, ShippingCost, DateReceived, Supplier, PO, UserName, Completed, POTotal FROM         Purchases WHERE     (OrderDate >= [StartDate]) AND (OrderDate <= [EndDate]) (yes, I changed the prefix and suffix because it kept coming up with syntax errors.) If I test this with the "Execute Query" button, it works fine. When I finish this query, I would expect it to create two entries in the parameters collection. It does not. So I created them myself. In my code, I execute this: ...Show All

  • Visual Basic It takes so long to verify before installing a VB published program!

    How to solve this problem I wrote a program in VB 2005 Express. When installing it in another computer, it first shows something like " verify ..." and this takes about 5 mins. The program itself is only about 1M. Shouldn't it be much faster to install Also, publish function works only if prerequisite is set be be downloaded from web. How can I make it independant of web Thanks for reading! Referring to the "Verify..." situation, it could be the AV virus kicking in and causing it to slow down, however generally, regardless of the size of the application, generally the installer may take some time to verify itself, other required resource, packages etc.... if it is actually taking a while (a g ...Show All

  • Visual Studio Express Editions Ugh....Driving Me nuts....

    I am in the middle of writing a prog that takes a file within a directory on a HD renames it to the directories name and then places the newly named file on the root of that HD. Here is the code. and I am not getting it.....I would really appreciate your help. Thanks Imports System Imports System.io Imports System.IO.DirectoryInfo Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim dlg As New FolderBrowserDialog Dim FileNamesSelected() As String Dim SelectedFolder As String 'Dim FileFound As String SelectedFolder = Me .FolderBrowserDialog1.SelectedPath FileNamesSelected = System ...Show All

  • Visual Studio Team System Team Explorer SP1

    Is there an SP1 for just Team Explorer or do user have to install the huge VS SP1 ...Show All

  • Software Development for Windows Vista Certified for Vista - TEST CASE 15

    I have a question, regarding Certified for Vista, TEST CASE 15. Verify application installs to the correct folders by default (Req:2.3) and which one it says: 6. Default install directories are: a. Native x86 and x64 applications i. Program Files - %ProgramFiles% ii. User’s AppData - %APPDATA% iii. ProgramData – ALLUSERSPROFILE% Our application has 2 kind of shared user data: 1.) Sample data that is the same for all users, that is copied at the install time, at may be modified by users at application run-time 2.) License data (serial number) that is the same for all users, that is taken from user input at the install time, and also sholud be written at install time to a shared folder. In witch directory should I put this kind of ...Show All

©2008 Software Development Network