kayki's Q&A profile
Windows Forms DataGrid Sum into TextBox
This one seems to be difficult question. I have a VB.Net Form App using an SQLConnection which has a Master/Details setup where the Data for a Transaction number is displayed in a DataGrid. I would like to total the fourth column of the d ...Show All
Visual Studio Tools for Office c# counterpart of VBA for Excel
hi, can anybody tell me the c# counterpart of the following Excel VBA code line: ActiveSheet.UsedRange.Columns(1).Cells i tried (and also its variations) ((Range)((Range)((Worksheet)((Excel.Application)app).ActiveSheet).UsedRange).Columns[Type.Missing,1]).Cells but doesn't seem to work. no matter what i tried i got an exception. neither could i find anything on google. i would appreciate any help. thanks. H ...Show All
Smart Device Development Can Compact Framework2.0 support WCF Http WebService?
I have made a WindowsFX WCF Http WebService available in my local machine,and i could contract the webService in my pocketPC Internet Explore(not the emulator). And i tried successful using a ASP.Net2.0 WebService in my application. But when i use the WCF Http WebService,it could not connect to my local Server. I am sure the WCF Http WebService is available. I suppose that Compact Framework2.0 dosen't support WCF Http WebService,but i'm reall ...Show All
Visual C# sentence case string
How to convert uppercase string to sentence case string in C# e.g. input: HI ALL! I'M A NEWBIE. PLZ HELP! output: Hi all! I'm a newbie. Plz help! Here, I just wrote this as this made me curious. I know this could probably be done a lot better by iterating over a chararray and changing the case depending on flipping a bit to indicate it was necessary but I was lazy and used strings: /// <summary> ...Show All
Windows Forms Beta 2 Publish help needed
Hi all, I'm a student trying out VS.net C# express beta 2. I had created a simple hello world program. I'm using the "publish" feature that comes with vs.net, however I notice that when it's install on another computer, it takes a long time to install as the setup is downloading the .net framework 2 from the internet. Is there anyway to bypass the internet streaming and instead put in all in a cd-rom for the installation Thanks. Hi, I had ...Show All
Visual Basic Passing an Array of Stings to a C++ DLL using SAFEARRAY - HELP!!!
Hi I am upgrading some VB 6 programs to VB 2005. These programs pass data to a C++ DLL and I am having trouble passing an array of strings. The DLL looks basically like: int _stdcall PassInStrings(short idx, LPSAFEARRAY FAR *strArrayPtr) { BSTR *tmpStrArray; tmpStrArray = (BSTR*)(*tagArrayPtr)->pvData; for (i=0; i<idx; i++) { MyDebugPrint("PassInStrings", LPSTR(tmpStrArray[i+1])); } //other stuf ...Show All
Visual Studio Tools for Office actionspanecontrol v.s. usercontrol
I am new to vsto 2005, and have a few questions. 1- is task pane and action pane the same thing 2- in creating a word project , I can do : this .ActionsPane.Controls.Add( new UserControl1 ()); this .ActionsPane.Controls.Add( new ActionsPaneControl1 ()); is there only one actionpane for a word document, can we add more and how 3- what is the difference of usercontrol v.s. actionspanecontrol thanks. The A ...Show All
Visual Studio Team System How do I install controller & agent ?
I must be blind or thick but I can't find any way of installing the agent or controller in Beta 3 Refresh. I'm sure I read something about this somewhere. Can someone please point me to the right place Thanks It's not just you. This is still confusing to me too. Is there a way to evaluate the controller and agent components integrated with beta refresh 3 through my MSDN subscription I'm confused how the product mentioned in t ...Show All
Visual Studio Team System Could VSTS proxy server be used offline?
For example : I have a small team that have to work outside main site of the company and there is no stable connection between them. Could I establish a proxy server outside the company and let this small team connect to the proxy and make the proxy synchronize with the main server inside the company when the connection is available Thanks! Following is the reason for why proxy won't work in offline mode: Pr ...Show All
Visual Studio Express Editions Build error...
Hello all, Posed this question already on another website: http://episteme.arstechnica.com/groupee/forums/a/tpc/f/6330927813/m/337001628731 I'm hoping I can get some more in-depth help here. Basically, VWDE has been kicking back an error on a line of code where there wasn't one before; ______________________________________________________ protected void Page_Load( object sender, EventArgs e) { //int OrderID = Con ...Show All
Visual Studio 2008 (Pre-release) Binding error messages on LayoutTransform
I'm receiving binding error messages for ListBoxItems whose ControlTemplate contains a LayoutTransform that uses a Binding. Here's the XAML: < Window x:Class = " WinFXApp.Window1 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " > < Window.Resources > < Style x:Key = " MyListBoxItemStyle " ...Show All
Smart Device Development copy files to pda
How can i copy files to pocket pc using comand line on desktop I saw a tool posted by someone that does this (you can also write on your own using RAPI) http://www.codeproject.com/ce/rcmd.asp Amit ...Show All
.NET Development XSLTCompiledTransform And Caching
I'd like to cache the XSLTCompiledTransform object in a Dictionary as I'm having a performance problem with the time it takes to load XSLT from disk. My question is, am I ok to just add the object into the dictionary without cloning it When I've done this before in the DNA world I've always had to clone the document but I notice this isn't supported on this object. I also note that the docs state this is thread safe and should be ...Show All
Visual Studio Express Editions burn IMG download
Hello How to burn IMG file onto a DVD/CD I tried Nero but it doesn't recognise the format. Is is possible for MS to change the downloads to ISO or BIN formats which are more popular Cheers Yuelin are you sure that will work, because often if i need to convert a song i put on iTunes to WMA and i just rename it, it stays as m4a ...Show All
Visual Studio Team System Visual Studio 2005 Team Suite Release on MSDN Subscriber Downloads (Universal)
Hello everybody, Today Visual Studio 2005 Professional was released on MSDN Subscriber Downloads. We were unable to find the Team Suite Release. Any help Best regards Ralf Rottmann Word on the newsgroups is that your transition options are limited by your partner level. I've heard variously that - Gold partners get Team Developer, no role choice, no upgrade - Standard partners get Professional only, no Team Sy ...Show All
