Chyna440156's Q&A profile
Visual Studio 2008 (Pre-release) WPF for Windows XP!!!!
Dear Friends, Can anybody please inform me, where can I get the SDK for building WPF applications in Windows XP. Thanks & Regards, Lalit .NET 3.0 download using link below: http://www.microsoft.com/downloads/details.aspx FamilyId=10CC340B-F857-4A14-83F5-25634C3BF043&displaylang=en VS.NET 2005 extensions download for .NET 3.0 http://www.microsoft.com/downloads/details.aspx FamilyId=F54F5537-CC86-4BF5-AE44-F5A1E805680D&displaylang=en Windows SDK download using link below: http://www.microsoft.com/downloads/details.aspx FamilyId=C2B1E300-F358-4523-B479-F53D234CDCCF&displaylang=en WPF Resource: http://wpf.netfx3.com/ ...Show All
Visual Studio 2008 (Pre-release) Intellisense not working -> a solution
After having installed the linq preview on a clean installation of vs2005 intellisense was not working. This was due to some registry keys pointing to the wrong paths in the filesystem: HLM\SOFTWARE\Microsoft\LINQ Preview\VCSIDEDIR and HLM\SOFTWARE\Microsoft\LINQ Preview\VCSPKGDIR where both pointing to C:\Program Files\LINQ Preview\" which doesn't seem right. After having changed them to point to C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ and C:\Program Files\Microsoft Visual Studio 8\VC#\VCSPackages\ intellisense works fine for me. Michael Did you run the "Install C# IDE Support.vbs" script I forgot to mention that if you ran "Install C# IDE Support.vbs" with the wro ...Show All
Visual C# Listing files and folders, TreeView usage problem.
There is problem with the Nodes.Add, What i need to create treeview as it should be Here is the code, try run it if you dont see the problem. private void Form1_Load(object sender, EventArgs e) { // Dirs foreach (string dirs in Directory.GetDirectories(@"C:\")) { if (dirs != "C:\\System Volume Information") { TreeNode node = new TreeNode(); node.Text = dirs; treeView1.Nodes.Add(node); // this works // Subdirs foreach (string test in Directory.GetDirectories(dirs)) { TreeNode subdirs = new TreeNode(); subdirs.Text = test; treeView1.Nodes.Add(subdirs); // here it is. Should be &qu ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Only 32 primitives drawing correctly.
I've made a program that draws multiple triangles on the x-z plane. My eventual goal is a hight map but I'm having a problem with the DrawUserPrimitives call. It works fine if I set the number of primitives to draw up to a maximum of 32, but any greater number and I get some very strange random triangles all on top of one another. I looked through the API and found that there was a MaxPrimitiveCount method but that returns 1048575 so I don't think thats a problem. All the values in my array seem fine, if I copy the end triangles to the beginning of the array they display fine (until 33). If I put the loop that fills the array in my draw method and draw one primitive at a time (by just writing to position 0, 1 and 2 of the array) it works ...Show All
Visual Studio Express Editions Counting Mouse clicks?
How can I count mouse clicks in VB.net The purpose is to select an entire sentence with triple clicks. ( Windows by default selects a word on double clicking ) My (Newbie) version of "counting Mouse clicks" :D Crude but works. Thanks Renee, will check out your version too. The primary intention was to select a long line of text in a textbox and not in an RTB Public Class Form1 ' counter is the no of milliseconds elapsed from the start of timer. I set the ' interval property of timer1 as 1 in design mode ' Dim counter As Integer ' clickCounter is the no of times the control was clicked Dim clickCounter As Integer Dim value2 As Integer Dim value3 As Integer ...Show All
Visual FoxPro Interface in Polish
Hi everyone: I'm developing an multilanguage application. Till now, we were working with: English, German, French, Italian, Spanish, Portuguese (both, also Brasilian Portuguese) and Romanian. Everything runs well, but I can't manage with some Polish characters. The captions are stored in tables DBF, which were populated from Excel files. As soon as information is imported from Excel to VFP DBF file, the Polish character (something between e and c) is substituted by e. What should I do Do you have any advice for me Thank you !! -- Regards, Ana Madrid, Spain www.amby.net Hi: The ASC of character is U+0119. I can't reproduce it in VFP, not changing the FontChartSet property, neither ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Application speed
Hello, Does anyone experience the same problems as me regarding the speed of XNA games It seems like whenever any other dx enabled app does something my XNA app drops to 3/4 fps. Also, when I unfocus the window it also drops. Is it my computer, or ...... Ok, I tried disabling multisampling but it didn't do too much. I've updated my drivers already (I had some problems with the old ones when i first started using XNA). I still get the same thing where once a tooltip comes up or a window loses focus the fps drop that occurs seems to be perminant. Please let me know what happens when you update your drivers, I'm interested to find out. ...Show All
.NET Development Write a WMI Provider
Hi, I would like to write a Simple Provider.What could be an example to write a provider. what are the steps involved in writing a Provider. msdn provides the steps to write a provider... Once I compile my mof,using MOFCOMP....does this generate any files what happens when we run this Please can anyone let me know what are the steps involved in writing a Provider not the high level but in detail..Please take any simple provider and if possible send me in the code. Thanks in advance. Sudha There are detailed documentation and samples to write a native WMI provider located here: http://windowssdk.msdn.microsoft.com/en-us/library/ms743408.aspx Thanks, Andrew ...Show All
.NET Development Can I open an Access database from vb .net if the mdb file is opened.
if I try to use the following connectstring "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\cse1\src\test.mdb;Mode=Share Deny None;User Id=admin;Password=;" I get the following error "The Microsoft Jet database engine cannot open the file 'test.mdb'. It is already opened exclusively by another user, or you need permission to view its data." I was assuming that mode-Share Deny None would open the database in read-only mode, since I have to just display data and not do any updates. thanks. Did you add a reference to Microsoft Access 11.0 object library I'm trying to do the same thing as you. Currently i'm running into securityerrors. ...Show All
Windows Forms Hi!!!!how can i create 3*3 ...means 3 rows n 3 columns of textbox dynamicallly for taking the input of matrices
Hi!!!!how can i create 3*3 ...means 3 rows n 3 columns of textbox dynamicallly for taking the input of matrices....like i click on a button and 3 by 3 small textboxes are created at different location......so..how can i do it....is there anyway to take the imput of matrices dynamically.....thx ...plz gave a coded example... Hi, Is the following sample what you want using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace WindowsApplication1 { public partial class Form17 : Form { public Form17() { InitializeComponent(); } ...Show All
Windows Forms Change TextBox drawing rectangle
I am creating a custom textbox control, that inherits a standard textbox contro, and I would like to leave some space on the right sied of textbox, so I can use it for some information purpose. Ex TextBOx.Width=100 I would like letters to be shown in 80 pixels only (and after if more letters are typed, they are scrolled, just like in original textbox behaviour, and the last 20 pixels should be reserved. HOw to change this "letter" rectangle Any ideas TextBOx.Width=100 I would like letters to be shown in 80 pixels only (and after if more letters are typed, they are scrolled, just like in original textbox behaviour, and the last 20 pixels should be reserved. HOw to change this "letter" r ...Show All
Visual C# I can't use mshtml library in Visual C# 2005
I can't use mshtml library in Visual C# 2005. I can't convert System.Windows.Forms.HtmlDocument to mshtml.HTMLDocument. Is there any solution you added a reference to the html objects, correct grab the DomDocument property: mshtml.HTMLDocument disp = (mshtml.HTMLDocument) webBrowser1.Document.DomDocument; ...Show All
Windows Forms novice DataGridView questions
Hi, I've recently moved over to .net/c#/visual studio 2k5 and am struggling to get to grips with the more complex windows forms. I come from a background in Java and used tables extensively and enjoyed the flexibility and enforcement of the MVC architecture i.e. separation of data from the control. If I have a collection of objects, for the sake of this example, Strings corresponding to files and I want to display non-standard data i.e. not the details view as per the ListView control. e.g. column headers - method Filename - System.IO.Path.GetFileName(file) Size - new System.IO.FileInfo(file).Length Convert to PDF - checkbox/boolean - if file is a PDF disable checkbox, else default = tick/true How do I populate the ...Show All
Visual FoxPro config.fpw
how i can find my config.fpw how i can call my program that use only my codepage=950 for hongkong characters i wan create my own config.fpw and at my main.prg call this config.fpw... how i can do that thanks in advance. And don't forget that if you're running an EXE (which you should be doing), add the config.fpw to your project so it's included in the EXE. Then you don't need an external file. ...Show All
Visual J# permission question
I have a J# class BeanResult which inherits from Object (ie no declared parent class) and it does not have a ToString method so that inherits from Object. PermCalc gives the following listing which shows a permission request from ToString which means that every class will then require UnmanagedCode as every class eventually inherits from Object. What is going on here <Type Name="BeanResult"> <Method Sig="instance void .ctor(string )" /> <Method Sig="instance void setColor(class Color )" /> <Method Sig="instance object MemberwiseClone()" /> <Method Sig="instance string ToString()"> <Demand> <PermissionSet ve ...Show All
