Software Development Network Logo
  • Architecture
  • Microsoft ISV
  • Visual Studio
  • .NET Development
  • VS Team System
  • Smart Device
  • Visual J#
  • Windows Forms
  • Visual C++
  • Windows Vista
  • Visual C#
  • Visual Basic
  • Game Technologies
  • Visual FoxPro
  • VS Express Editions

Software Development Network >> Pravit Vajiratanakorn's Q&A profile

Pravit Vajiratanakorn

Member List

Paic Citron
GrahamC
santosh42
Admin Matthew
Josh B
Ueslei
bamboowave
lnessling
Reece Williams
Gammy Knee
Darlek
Mohammed Hossam
SJ100
DrNecessiter
pepa z depa
ShowMeTheMoney
ME_Jen
kmp112495
Serene Seraph
Jon Rauschenberger
Only Title

Pravit Vajiratanakorn's Q&A profile

  • Visual FoxPro Preview container toolbar doesn't respond

    Hi: I'm creating a report that contains several chained reports. The obtained report is OK The problem is that I can't to do any actions with the bar. PreviewContainer. ToolbarIsVisible = .T. OK I'm able to change some properties: Caption, ZoomLevel, etc. That's also OK. I'm able to scroll pages with keyboard or mouse clicking to the Preview container screen. That's also runs OK. But the problem is that toolbar do not react anyway to a mouse click. Seems to be a modal window anywhere. I'm really confused here. Thank you, Regards, Ana Madrid, Spain www.amby.net Hi Ana Are you using VFP9 Service Pack 1 There was a fix in that for a s ...Show All

  • Visual Studio Team System Source control in a remote environment

    How can team foundation client (team explorer) recognize that the same project is coming from the same server in a remote environment For example : I set up a TFS server named "tfs" in the intranet of our company, and it could be accessed from internet via "tfs.mycompany.com". Then I add two tfs server in my team explorer, one is named "tfs", the other "tfs.mycompany.com". When I work in my company, I work with the server "tfs"; when I work at home, I use the server "tfs.mycompany.com". However, how can the team explorer recognize that the source code is coming from the same server I check out the source code in our company, and continue my ...Show All

  • Visual C# compare

    Hi how can i compare two text files i mean the text in these files For small files you can do this: using (StreamReader readerFile1 = new StreamReader(@"c:\file1.txt")) using (StreamReader readerFile2 = new StreamReader(@"c:\file2.txt")) { string file1Content = readerFile1.ReadToEnd(); string file2Content = readerFile2.ReadToEnd(); if ( file1Content.Equals( file2Content ) ) { // The files are equal. } } ...Show All

  • Visual Studio Invoking MSBUILD from Inside an App

    So I have created some custom MSBUILD tasks (to deploy SQLCLR assemblies). They work fine when I execute them from command line: msbuild /t:taskname project_file. However when I try and execute from inside an application by using the Engine.BuildProjectFile, I can't get it to work. That's not the main problem as at the moment I am explicitly sending in params which should make it fail. The weird part is that I can not get any output back. I have registered a FileLogger, and the Engine.BuildProjectFile returns failure, but the lgger file is empty. If I supply an incorrect task assembly, I do get an error back in my log file. It si when the ac ...Show All

  • Windows Forms Incorrect row count

    I have a DataGrid where a user enters product details. The details that a user can enter are ProductID, Quantity and Rate. An additional Amount column is an aggregate column that calculates the value of Quantity * Price. Whenever a user enters data the RowChanged event of the underlying DataTable is fired can caught. In the method that handles this event,&n ...Show All

  • Visual Studio Team System UseLiteralsWhereAppropriate ?

    FxCop emmit a warning for this code : public static readonly string UPDATE = "UPDATE"; FxCop output --------------------------------------------------------------- Target : UPDATE (IntrospectionTargetMember) Resolution : "Field 'UPDATE' is declared as 'static readonly' but is initialized with a constant value 'UPDATE'. Mark this field as 'const' instead." Category : Microsoft.Performance (String) RuleFile : Performance Rules (String) Info : "Prefer literals over InitOnly fields if values do not have to be calculated at runtime." ------------------------------------------ ...Show All

  • SQL Server Sorted Input

    If a component requires a sorted input it would seem reasonable that you can check the IsSorted property of the attached input, but this will always return false. I have tried this when connecting the output of the Sort transform to my component, and then check the IsSorted property for this input. It is always false. How can this be, and also how can I see if the path is indeed sorted If using a virtual input column in my UI, I get a SortKeyPosition on the columns, but when overriding SetUSageType in the component class I always get zero for the key. Why is the sort information not quite there for me In my case, no columns are even ...Show All

  • Visual C# ProcessStartInfo.Start() problem

    I have a simple application that takes a folder path and open in the windows explorer. Here is the code i use Process p = new Process(); p.StartInfo.FileName = "explorer.exe"; p.StartInfo.Arguments = strFilePath; p.Start(); The problem is that when the filepath contains spaces it works just fine on my xp machine but on my clients machine which use windows 2000 the application fthrows the exception filenotfound. I would like to know why it works on xp and doesn't on windows 2000 You will need to quote the arguments. However, you can simply pass the folder path to StartInfo ...Show All

  • Windows Forms It debugs.. then it won't debug?

    I have spent hours today with a winform with some comboxes bound to data. And something really weird has been going on. I set some*space space*points and lately it just ignores the*space space*points.. THEN it might stop at one so I continue and I press the button again which has a breakpoint and it ignores the breakpoint Any idea what could be going o ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. .X files

        How do i make a .X file and a .FX file what program   werwin wrote:     How do i make a .X file and a .FX file what program You can also use a program like DelEd, Gamespace, Milkshape, Lightwave, etc... ...Show All

  • Windows Forms turn off GroupBox border

    Is it possible to turn off a GroupBox's border    I don't see any property to control this. ...Show All

  • Visual Basic Application error that is sporadic

    This is a weird error that I have found a workaround. If anyone knows why this might be happening I would be greatly appreciated. I have a VB application that calls a VB.Net DLL (Imports). The VB DLL calls an unmanaged C++ DLL and the C++ dll loads and unloads other DLL on the fly as needed. In the VB application I create a new instance to the VB DLL object. When I set the instantiated object to nothing an exception is thrown ( not all the time) "The instruction at A referenced memory at A that could not be "read" for Index as integer = 1 to 100    dim objI as new vbObject    objI = nothing  ...Show All

  • Windows Forms SplashScreen in my application

    Hi, I want to include a SplashScreen to my Visual Basic 2005 Application, when my application is started. I have added the standard SplashScreen-Item and changed the settings. When my applications is loaded the SplashScreen is showed for less than 1 second.  How can I change the time value and show the SplashScreen for a longer period. The second question: How c ...Show All

  • Visual C# httplistner

    Hi , I am very new to C# and want to write a application server using httplister class which is newly added to .NET 2.0.I want to use the async method BeginGetContext to handle each request received.I want to know how this method can be called in a loop to accept each request.The code example below in MSDN says the main thread show not die to prevent listner from stoping.How this can be achieved.is below understanding of mine correct as I want each request to be processed in callback thread and wait for new request i.e keep listening and accepting new connections. Is this fine listner.start While(true) { call BeginGet ...Show All

  • Visual FoxPro what is the maximum field VFP9 can handle

    Good day to everybody... just a little problem with my update at VFP interface with my back-end database I dont have this problem updating my employees table in SQL2000 with 35 columns at my VFP interface, but recently I add another 3 columns at my table, that's where I encounter this problem. Inserting a new record or deleting there's no problem, but when i edit a particular record then saved the changes,the update is OK.. but after I close the form and open it again, that particular record I edited does not really saving the changes. why is there a limit in field column use by VFP Just asking.. or there's i miss... but I already m ...Show All

©2008 Software Development Network