Thomas Greenleaf's Q&A profile
Windows Forms Setup file creattion using c# and outlook Add-in
I have created two projects, i developed one project using c#,and another one i created in outlook Add-in using VSTO. Now i created the setup files for c# project and the outlook adding individually. But i want to create only one setup file. it should include both means the c# setup and the outlook setup file. how to create thread moved to the appropriate forum. I think you may need to create some custom action in this case to run your setup files within your main setup file although this is a bad idea - you should have everything in 1 setup file - no setup's within setup's. If I were you and if it were possible, I would make everything into 1 setup file. ...Show All
Windows Forms Multiple Lines for DataGridView Header Text
Anybody knows how to manually break column header text (in DataGridView) into multiple lines Ex: address line 1, I would like to see "address" in one line and "line 1" in another line. If I let the program auto break it, you would see "address line" in one line and "1" in another line, which is not something I like to see. Any help or pointers are appreciated. Bo Hi, Ryan: Does it work for you As a matter of fact that was the first solution I tried but it did not work. I also tried after reading your post but it still did not work for me. Any other ideas Bo ...Show All
Visual C# Datagridview: clone columns & headertext
The datagridview column class has a clone method that it inherits from datagridviewband. I have a databound source DGV and I would like to clone the source's columns including headertexts to another target DGV. Can someone please help me with this ...Show All
SQL Server No replinfo on sysobjects ?
HI there , i have recently upgraded my publishers to 2005. Transactional replciation seems to be running fine. However in SS2000 i always used to query sysobjects on replinfo to see if a table was replicaed and how it was replicated, 1 = snapshot , 3 = transactional etc. However after upgrading replinfo on sysobjects is 0 for all my articles, whats up with this Must i use sp_helparticle only now Also how does the system know if an object is replicated now , i used to think it used the replinfo column on sysobjects, how is this different in 2005 Thanx ...Show All
Visual C++ Divide without using operators
I need a code for Dividing two integers but ... without using any operators ie (+,-,*,/) to get the Quotient and Remainder One can use math.h . plz help me thanks..... ConfusedGuy wrote: Hi You can use shift operator Then you can divide, cuz dividing is a kind of shifting in binary arithmetic and this is what happens inside the processor. Yes, but that only works if you're dividing or multiplying by a multiple of 2. And I believe you'd still need to use, at least, subtraction. (And technically, since he said "without using operators", this still isn't a solution, since >> and << are operators as well!) ...Show All
Visual Studio 2008 (Pre-release) How to generates app.config for Self Host with NetTCP transport?
Hi Eveyone, I am leaning how to self hosting a service with NetTcp transport. I just want to know how to use SvcUtil.exe to generates the App.config file for client ( see server's app.config file at the end) Regards, Jdang <!-- App.config of Server application --> <system.serviceModel> <services> <service name="Company.Services.TestServices" behaviorConfiguration="DqServiceBehavior"> <host> <baseAddresses> <add baseAddress="net.tcp://localHost:8002/TestServices"/> </baseAddresses> </host> <endpoint address="" binding="netTcpBinding" contract="Company ...Show All
SQL Server Data Conversion Numeric to date
I have some data which I am trying to put into a DM where I can use it as part of a cube (my first!!) I have hit a small problem with dates, I get it from the ERP system as a numeric field, and I need to convert it to a date format. The intension is to use this converted data with Named Calculations to derive Year, month Day ect. However I cannot seem to be able to convert and store (in SQL) this column can anyone advise Thanks I could not get it working, so I decided to do 3 conditional splits and then the derived columns. Seems to be working, now just got to work out how to do a time dimension, I have the invoice date in the fact table I think I have already made a mistake. Thanks aga ...Show All
Visual Studio Team System Is it possible to set recursion to false?
Currently when automation script is run, an item is duplicated and incremented in subsequent runs. Is it possible to set recursion to false Thanks Test consultant Hi, Can you describe what the script does, and the item that is being duplicated More information will be appreciated on this. Thanks, David Gorena Elizondo [MSFT] VSTS ...Show All
Visual Studio 2008 (Pre-release) ASMX to WCF SOAP Headers
Hi, I've written a large asmx web service and now i want to port it to WCF service. What is the easiest way to do that by having in mind that i have applied [SoapHeader] attribute to almost every web method in the asmx service. This attribute always points to one SoapHeader inheritor class. Can I add some attribute ( like SoapHeaderAttribute in asmx ) along with the OperationContractAttribute to add this SOAP header. Or I have to create a wrapper classes for all types I use in order to add the header by using MeassgeHeader. Thanks in advance, Kostadin As you say, you could use the [MessageContract] model and use [MessageHeader] to do this. Another possibility is to just programmatically add and f ...Show All
Windows Live Developer Forums When I Select Source & Destination Dynamically, Path Getting Scatter Across The Map
When I Select Source & Destination Dynamically, Path Getting Scatter Across The Map hi, i can able to get the Correct Route and Path for the corresponding Source and destination, like this, map.GetRoute('Redmond, Washington, United States','seattle, Washington, United States',VEDistanceUnit.KiloMeter,VERouteType.Shortest); when i try to do the same dynamically, i fails there, <html> <head> <title>Driving Directions in Virtual Earth</title> <style type="text/css" media="screen"> ul, li {margin:0;padding:0;} ul.popMenu { position:absolute; margin: 0; padding: 0px; list-style: none; font-family: arial; font-size:10px; text-align: center; width: 100px; /* Width of Menu ...Show All
Smart Device Development GPRS & GSM simultaneous connexion
Hi all! I plan on writing a program which will use a GPRS connexion to send & receive data (probably using OpenNetCF API) continuously. The problem is that the smartphone user will have to have the possibility to receive or send phone calls (using GSM) without the GPRS connexion to be interupted. Is it possible (I'm not looking for code sample, just for possibilities) Thanks by advance, I'll answer to any request for detail Peripheral type: Windows Mobile 5 smartphone, or equivalent That's a quick answer! (thanks a lot) OK, so supposing my peripheral is class A, is the Windows Mobile (let's say version 5 or upper) Operating System supporting two simultaneous connexions at a time ...Show All
Internet Explorer Development How to add "Open in new tab" to custom context menu?
Hello, I am glad that there is a special forum for add-on developers :-) Here is my first question that was not answered on the IEBlog yet: I have customized the context menu of IE based on the standard menu that is located in the shdoclc.dll. Unfortunately, the dll resource does not include the "Open in new tab" item in IE7. What is the recommended way to add this menu item to a customized context menu Of course, it should also depend whether tabbed browsing is activated or not. Thanks Viktor -- http://www.quero.at/ The New Web Experience ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Visual C++ : Going from 2D to 3D Drawings
Hi, I finished an application in Visual C++ 2005 which draws and manipulates different figures on screen using GDI+. Now, I would like to go a step further and draw those same figures in 3D. Is there any articles available on the subject Where should I start A couple weeks ago, I remember having read something on using DirectX library for this, or maybe something else related. If it is the right step to take, does anyone have any infos on which library would be the best to use and how to use it Any example Thanks in advance, Stephane Hi Jonathan, Thanks for the link. Really appreciated. I understand that I must download and inst ...Show All
Visual Studio Express Editions Problems with basic Hello World program.
I am using the following code.... #include "stdafx.h" #include <iostream> int _tmain(int argc, _TCHAR* argv[]) { std::cout << "Hello, world!\n"; return 0; } And I am getting the following error... Error 1 error LNK2019: unresolved external symbol "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<char,struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char const *)" (__imp_ $ 6DU $char_traits@D@std@@@std@@YAAAV $basic_ostream@DU $char_traits@D@std@@@0@AAV10@PBD@Z) referenced in function _wmain test4.obj I don't know why but V C++ EE ins ...Show All
Silverlight (formerly WPF/E) Squeezing objects
I was wondering whether it is supported to "squeeze/distort" objects into various affine and skeewed forms Basically what I wan't to do is squeeze an image (or any other object for that matter) into the following shape: ___________ / \ / \ / \ / \ / \ I would also need a variant the would require adding some skewing like this: ___________ / | / | / | / | / | or ______________ / / / / / / / / / / ...or anywhere in between these. (and no, I'm not talking about clipping :-) Any ideas on how to accomplish this are very welcomed! Thank you! :) I h ...Show All
