fuongptit-kodomo's Q&A profile
Visual Studio 2008 (Pre-release) Unable to install
I have tried to install WCF but get the following errors in the log file: === Verbose logging started: 7/3/2006 14:45:03 Calling process: c:\WINDOWS\WinFX\v3.0\Windows Communication Foundation\ServiceModelReg.exe === ServiceModelReg [14:45:05:125]: Information: The ServiceModelReg tool will take the following actions: Adding configuration section system.serviceModel to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config. Adding configuration section system.runtime.serialization to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config. Adding configuration section system.serviceModel.activation to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config. Adding configuration entry for BuildPro ...Show All
Visual Studio 2008 (Pre-release) How to create a full screen visual based on offset of the canvas
I am trying to implement a graphic render which is based on FrameworkElement . To activate hit testing all over the canvas I am following the strategy of placing a border control from the renderer class. Somehow I am not able to get the proper offsets or do not know how to expand or cover all the canvas. This is part of the code I am using. Any ideas or suggestions. Canvas hostCanvas = ( Canvas ) this .VisualParent; DrawingVisual _border = ( DrawingVisual ) this ._children[ this ._children.Count - 1]; _border.Transform = new TranslateTransform (hostCanvas.ActualHeight, hostCanvas.ActualWidth); Atul Just in case if anybody else needs it, here is the solution... //ge ...Show All
Visual Studio Express Editions need guidance
hi, I have just started programming Windows. I have a background of programming C and Perl in Linux. I am absolutely new to Windows development. Now my new project (Networking, Multimedia included) need to be build in WinXP and with rich GUI design. So, I have chosen C# .NET as the platform. I am following Programming Windows with C# by Charles Petzold. Later I realised that using only Windows Forms, I might not be able to develop rich GUI and I have to learn and use basic Win API functions. So, please guide me in achieving the above. How should I start learning the basic API functions Suggest a book plz. Correct me if I am wrong. Thanks, Gopi. Hi, " Programming Windows " is the most classic book on GUI Win32 p ...Show All
Internet Explorer Development Scrolling up 3 Lines after a goto target has been clicked?
Hello guy, You know those link like, goto Top or goto Section2 in the same page. I wish to my page to scroll up 3 lines after the page jumped to the target. Like The page will jump to target Section2 and scroll 3 lines up. How do I do such thing Thank you very much. Hi, That's simple. Just put an anchor - <a name="youranchor"></a> into the 3rd line and add then add this to your header - between tags <head></head> <meta http-equiv="refresh" content="0; url=#youranchor"> sorry 4 my bad english, i'm only 16years old, and i am from Slovakia ...Show All
Visual Studio Team System Bug tracking, log management
Just wondering is there any bug tracking or log management at TFS I mean, after the solution has been deployed, how can we track any bug occurs at client's side or is there any feature at TFS will get the keep the log files from the client's side TFS provides a work item tracking module, which can be used to track bugs. TFS provides an out-of-the-box experience to manually enter bugs via customizable forms. It also provides extensibility so another, automated system, can add bugs for tracking. If another system were to detect bugs on a deployed system, you could use TFS and its extensible infrastructure to log/track those bugs. Then you TFS to query and report on those bugs. ...Show All
Visual FoxPro Casting from character to numeric
Any idea how to cast a characeter field to a numeric field. I have a table w/ 150 'character' numbers that i need to be 'numeric' numbers Thanks, Mike numval = val(myField) If you want to do at table level then you could use alter table along with one of the numeric types. ie: alter table myTable alter myColumn i alter table myTable alter myColumn b(2) alter table myTable alter myColumn y etc. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA GSE and Vista
So here's a quick question. I'm pretty sure it's been asked before but none of the combinations I can think of give a definitive answer for me. I'll make this one quick and to the point. Are there any known compat issues with GSE and Vista RTM (currently using Vista Business). Let me know Our official stance is that it is unsupported. If you look at the Visual Studio site on MSDN, you'll find information about what specifically is not working on Vista. Although the VS 2005 SP1 has fixed many issues, the most problematic issue for most people is that the VS 2005 installer, as well as the XNA GSE installer, is not compatible with Vista. To give yourself the best chance of success, you need to install VS (Visual C# Express in the ...Show All
Smart Device Development SQL Express & SQLclient problem in VB2005
Hi guys, this is my first post here, im a VB Win developer with some experience, and now id like to try Smartphone programming, but i reaally need some help, heres my case: Im using VB 2005 and i have installed SQL Server 2005 Express. I create a new project and add a reference to System.Data.Sqlclient, located in: C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SQL Server\Client\v1.0 Then i procceed to import the namespaces: Imports System Imports System.Data Imports System.Data.SqlClient Since i just wanted to test if the connection works just like it does in VB Windows Applications, i added a Textbox (named Textbox1 ) and added the following code in the KeyPress event: Dim strconn As String = "Data Source=XZIBIT;Initi ...Show All
.NET Development How to validate a format string for DateTime display?
I would like to know how to validate the format string used to customize the DateTime display Ex: myDateTime.ToString(myUserProvidedFormat) --> How do I validate myUserProvidedFormat as being a correct format Note: I do not want to validate a DateTime, but really the formatting string to display the DateTime. Does anyone has an idea on the subject Thanks in advance, Joannes Lokad.com , business forecast provider ...Show All
Visual Studio Express Editions LAN party problem
My friend and I are organising a LAN-party on our school. But there is a little problem. We've been trying to create a network before but there ar some computers that xp assigns a wrong ip adress, some he wont detect and some who are used multiple. My nephew said that we had to assign every computer a personal ip-adress (like 193.00.001 , 193.00.002 and so on). But when we're having 50 pc's standing there it will be a lot of work to give everybody a "hand made" ip. So I'm now trying to write a program that gives everybody a specified ip. But I really don't know where to start. Please help :S, Hi Douwe , In a way you are talking about a client/server architecture. You are really talking anout an IP ...Show All
SQL Server Cannot view packages.
after installing Integration services, applying service pack, hotfixes and setting up to run in a clustered environment. I can successfully migrate a package to the server, see it in the msdb database but I cannot view it under stored packages. I dont even see the msdn database My set the cluster name in the config file- Daveko wrote: My SQL Server is a Cluster. I have set the name of the server to the name of the clustered sql instance as the documentation has stated. This link might help: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=223423&SiteID=1 ...Show All
Software Development for Windows Vista Visual Studio 8 + MFC App Wizard + Won't Compile
Hi, I'm trying to follow along in a textbook that wants me to use the MFC application wizard to create a program, but shouldn't I be able to compile no problems right after I click finish I'm using visual studio 8 with latest version of windows platform SDK. Single document, MFC standard, document/view architecture support, use MFC in shared DLL, No compound document support, no database, common control manifest. Program name: CDApp The errors are complaining about this particular block of code: BEGIN_MESSAGE_MAP(CCDAppApp, CWinApp) ON_COMMAND(ID_APP_ABOUT, &CCDAppApp::OnAppAbout) // Standard file based document commands ON_COMMAND(ID_FILE_NEW, &CWinApp::OnFileNew) ON_COMMAND(ID_FILE_OPEN, &a ...Show All
Visual Studio Express Editions sending a value to a method
Hi, How can I send a value to a method. In the code below when the Analog value has change I would like to send the new value to PictureBox4_Paint. Module Module1 Public AnalogValue As Short End Module Public Sub PictureBox4_Paint( ByVal sender As Object , ByVal e As System.Windows.Forms.PaintEventArgs) Handles PictureBox4.Paint Dim B As New SolidBrush(Color.DarkGray) If AnalogValue >= 100 Then e.Graphics.FillRectangle(Brushes.Red, 0, 0, 10, 5) Else e.Graphics.FillRectangle(B, 0, 0, 10, 5) End If If AnalogValue >= 200 Then e.Graphics.FillRectangle(Brushes.Red, 0, 10, 10, 5) Else ...Show All
Visual Studio Express Editions Newb
In visual basic 2005 express edition.... what line of code do you use to read and write to a text file.... I have the older book and it says to use StreamWriter(File.Open _ ("Filename", Filemode OpenOrCreate)) And my visual basic keeps giving me an error... what is thew correct line of code to use Greatly appreciated Newb Sorry the code i ended up using was: Dim theStreamWriter As New IO.StreamWriter(Application.StartupPath & "\test.txt" ) For Each currentControl As Control In Me .Controls If currentControl.GetType() Is GetType (TextBox) Then theStreamWriter.WriteLine(currentControl.Text) End If Next theStreamWriter.Close() End Sub ...Show All
.NET Development Need Help XML/ DataSet/ C#
Hi all !! I am new to C#, trying to write a windows application- AddressBook, using C# and XML. It has 4 text boxes( Fname, Lname, Phone, Mobile ) which takes user input and store those data in AddressBook.xml file. My question is, when it takes input from user, it takes duplicate data. How can I check data duplication using DataSet for example, DataSet ds = new DataSet() ds.ReadXml(C:\\AddressBook.xml); whats next Please help me with the codes !! Thanks a lot . Ronny Hi, I hope the following code helps you. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ private void button1_Click(object sender, EventArgs e) { if (duplicateCheck()==true) { MessageBox.Show("Duplicate entry.") ...Show All
