Derek0415's Q&A profile
Windows Forms Lines in Richtextbox
Hi, How i can show lines in richtextbox like auto like VS.NET IDE lines many thanx ...Show All
Windows Live Developer Forums Access Denied?
I've been playing around with using the MetaWeblog API to make a little front end app in C# for posting my blog entries and various other functions the API supports. Recently I've been getting nothing but Access Denied errors. Is it possible that Spaces has locked me out of my account due to too many password errors or something and if so how does one go about getting it unlocked I have verified my username and password and I was using the wrong one for a while but now I'm certain it is correct and I'm still getting the Access Denied (3001) errors. I know it's not my app because I'm getting them with w.bloggar now too whi ...Show All
Visual Studio suddenly extremely slow performance with VS 2005 June CTP
I've already submitted this as a bug, and unfortunately I cant tell them how to reproduce this. All I know is that VS 2005 was working fine until Thursday evening. Now I am dealing with EXTREMELY slow performance, especially when transition to or from debug mode. It takes literally 5 minutes to enter debug mode and the CPU is pegged at 100% the entire time. Has anyone experienced this before I'm ready to uninstall VS and reinstall from scratch, but I really don't want to take the time to do this. There is only one thing I can think of that might have causes this. Thursday night I encountered a crash in VS and like a good tester I s ...Show All
Windows Forms Making a .net Grid
Hi , im currently designing the architecture of my coming grid for .net and i just want to ask all of you what grid (for .net or whatever) that you think is the best and easiest to use my current implementation is beginning to resemble the infragistics ultrawingrid , but if any of you have any suggestions or would like to beta test the grid ...Show All
Visual C# Data binding hell
Something so easy causing so many greys.... void fetchNames() { comboBox1.Items.Clear(); OracleDataAdapter dAdapter = new OracleDataAdapter("select name from people order by id",myOracleConnection); DataSet ds = new DataSet(); dAdapter.Fill(ds) comboBox1.DataSource = ds.Tabl ...Show All
Visual C# My question is so basic I'm ashamed to ask it! LOL..
OK.. I'll do it anyway.. I have no shame here... First.. I am not a professional programmer.. Just a old man trying to keep his brain alive.. I code things I never use just to THINK.. I think it helps the brain.. Besides I enjoy it! I have ALOT of C# books.. To many in fact.. Just a old man and I get all mixed up. Either I can not read or the information I need is not in them (or understand what I'm being told!). I can do most anything I want in C# 'IF' I put everything in the one file. Which tends to get a 'bit' bigger than I can deal with.. Is this normal Is this a stupid question I can get around most of my problems 'except' ...Show All
Visual C++ printing data
hi i have created a dialog box application with two controls on it (Button and List control with report view style). what i want, when i click on button data present in list control should get printed with help of printer. Now problem is how can i instruct printer to print only those data which is present in List control. Regards Pankaj Native MFC Managed An MFC solution here: http://www.codeproject.com/listctrl/listprint.asp ...Show All
Visual Studio Team System Please give us better help files on the Version Control API
I have been working on a POC that does a Get from the Version Control Repository. I have been heavily scouring the VS 2005 SDK help files, blogs and the Internet at large. I have found limited information on this API and the Help files are all but useless. An example of a help topic for the GetRequest.ItemSpec property is below. This gives me no indication of what this ItemSpec object is or does. Can someone at Microsoft please make it a priority to get us at least a good help file for this API. It would be even nicer if there were additional code samples so that we can see these API constructs in context. Visual Basic (Decla ...Show All
Software Development for Windows Vista Casting property value in activity reference
Hello, I have two activitites. One exposes a DataSet through a property. A second activity takes a string property. I would like to set an activity reference to the first activity, getting the value of a particular row and column in the dataset. I can use the activity reference dialog to drill down on the Dataset property to get to a particular data value but this returns an object of type System.Object. The property that I'm trying to set on the second activity is of type System.String. How would I set my string property If I were writing C# code, I would cast the System.Object to System.String but this doesn't work in the activity refe ...Show All
Visual Studio Tools for Office How to customize column into VSTO's Excel sheet
Hi all, I have done following: 1. Click on "Add New DataSource" into Datasource configuration wizard. 2. Choose the "Object" from the options. 3. Select any of the classes from "NameSpace.Entities" dll generated by myself that works as dataaccesslayer. Lets suppose class is "XXX.cs", select it & click finish. 4. Open the "Datasource Explorer", Browse the class "XXX.cs" that i have selected in the above process. 6. Drag this class to the excelsheet, datagridview of the class get represented with bindingdatasource control. 7. Write code to grab all the data with this class to the sheet_startup ...Show All
Visual Studio Team System Set Syste Locale in web test
Besides, HTTP language header, the web page I am testing looks for system locale (from control panel) to decide what language of page to load. How do I simulate this in Web Test Hi Bart1, I'd suggest converting the web test to a coded web test, and programmatically set the system locale before executing the web test. Then on test completion, restore the previous value. See this walkthrough for more info on creating a coded web test. Cheers, David ...Show All
Windows Forms Can you add a programmed BindingSource to the Form Designer?
I am just a bit curious about something (although I am sure somebody has asked this before)... If you have created a BindingSource object programmatically in a class, is there any way of getting it to show up as usable in the form designer just as though you had created and set it up using the form designer Perhaps you can put some code that the form designer would have created and place it in your partial class Or add the code manually to the InitializeComponent() method in the Form.Designer.vb file Could the line of code CType(Me.MyBindingSource, System.ComponentModel.ISupportInitialize).BeginInit() in a Form.Designer.vb have anything to ...Show All
Visual Studio Tools for Office SQL 2005 With Project 2003
Hi, I wold like to know if Ms SQL 2005 (64Bits Version) work’s with Project 2003, or else, send me website link with this information. Thks.. Re-posting to the Project newsgroup. http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.project&lang=en&cr=US Thanks and regards, Darryn Lavery [MSFT] ...Show All
Visual C++ Number text into float
I know how to translate a number in a string, but how do I do things back, I mean, write like -15.36, which is not only decimal digits, to transfer from the edit boxe of the dialog box into a value (maybe using GetDlgItemText ) But how to transfer it into a string and after into a float char str[256]; double -> string: sprintf(str, "%.2f", doublevar); string -> double: doublevar = strtod(str); ...Show All
Visual C# Unique Machine ID
Hi, I have been looking at the code for the Shareware kit and there is some code that creates a ClientID from the processer ID. The code is: try { string cpuInfo = String .Empty; ManagementClass mc = new ManagementClass ( "Win32_Processor" ); ManagementObjectCollection moc = mc.GetInstances(); foreach ( ManagementObject mo in moc) { if (cpuInfo == String .Empty) { // only return cpuInfo from first CPU cpuInfo = mo.Properties[ "ProcessorId" ].Value.ToString(); } } return cpuInfo; } catch ( Exception ex) { throw new ...Show All
