Software Development Network Logo
  • Microsoft ISV
  • Visual C++
  • SQL Server
  • VS Team System
  • SharePoint Products
  • Visual C#
  • .NET Development
  • Game Technologies
  • Smart Devicet
  • Audio and Video
  • IE Development
  • Windows Forms
  • Visual Basic
  • Visual FoxPro
  • Visual Studio

Software Development Network >> Rolf67's Q&A profile

Rolf67

Member List

Donal McWeeney
VisualBasicGuruWannabe
shekhar saran
Heinz_Richards
cplusplus1
Dinesh Patel
programmer01
maryz
Ben Paddick
Shawnk
Geer352197
Wellman
Allen Razdow
YellowShell
Genetic1234
B. Wesley
jcoburn
dbro101
Ronnet
RamanaReddy
Only Title

Rolf67's Q&A profile

  • Visual Studio Tools for Office Running customizations programatically

    Hi all, I was wondering if anybody knows if it's possible to 'compile' a VSTO project (i.e. run the customizations and generate a flat, static word document file, which does not rely on code-behind, but on the server programatically, rather than when a client opens the document at their end. The reason for this is that I am programatically attaching the generated document to an email, which then gets passed to a email-fax gateway, which translates the word document into a fax and sends it over the PSTN. However, the gateway is not clever enough to open thedocument and run the customizatins...added to that, the custom typesd I use are not available to the service as it is 3rd party and sits outside of our solution... I know I could ...Show All

  • Visual Studio 2008 (Pre-release) AJAX-like Data update in Loose XAML

    I am wondering if I can do this in loose XAML. I have a simple XAML file that implements a number of text displays, which are data bound to an XmlDataProvider. The XmlDataProvider points to an aspx file, that, when requested returnes some data in XML form. Both the XAML file and the aspx page are sitting on a website, say http://localhost/test The XAML File: <Page xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " > <Page.Resources> <XmlDataProvider x:Key="DataUpdates" Source="http://localhost/test/GetSomeData.aspx"/> </Page.Resources> <Canvas> <Rectangle Fill="Red&q ...Show All

  • SQL Server Don't show point labels if value is zero

    Hey, I have a stacked column chart. It shows headcount per month. The headcount is split up into employees and contractors. I added point labels to the chart to display the exact headcount value per month. (=Sum(Fields!HeadCount.Value))  Now here is the problem: Some months don't have contractors so there is a 0 displayed at the bottom of the X-axis. I don't want this to happen! I already tried to change the expression of the point labels to this: =IIF(Sum(Fields!HeadCount.Value,"chart1_SeriesGroup1") > 0,Round(Sum(Fields!HeadCount.Value),1)," ") But this keeps displaying the 0. Even if the last parameter in the previous expression is 'nothing' it is still displayed. I hope it is possible to remove them ...   ...Show All

  • Software Development for Windows Vista Is Windows SDK final version or RC1?

    The download page for the Windows SDK (publish date 4th Nov) says nothing about it being RC1, yet the license agreement (viewable on running the web setup file) relates to Windows SDK RC1 and states the SDK agreement expires 31st Dec. Can someone please clarify That's an error that was corrected on the site this morning. The license agreement was updated to be parallel with the license agreement that ships with the setup. ...Show All

  • SQL Server Multi connection to .sdf file store on network share

    Hi In the " Choosing Between SQL Server 2005 Compact Edition and SQL Server 2005 Express Edition" white paper, i can read that: "SQL Server 2005 Compact Edition support data file storage on a network share" and " Number of concurrent connections = 256 " But when i try to connect with two different PC at the same time to a .sdf file store on a network share, i have an error message : "File is locked by an other processus" The firsth PC is connected but the secondth can't ";Mode=Read Write" in the connection string don't change anything. anybody have an idea Although SQL Server Compact Edition supports concurrent database connections from mul ...Show All

  • Microsoft ISV Community Center Forums How to color ligne in a listbox

    Hello, I try without success to color ligne (each ligne should be with a different colour) in a listbox with VBA (outlook). I find some example with VB, C#, but nothing I can apply in VBA . Some body can help me . Thank in advance Vincent With vbe use the menu Tools > Additional Controls. This should allow you to select the required control. Not sure of the position regarding re-distributing the control if your solution has to work on other pcs. ...Show All

  • Visual C# Override Onpaint

    What does it really mean when overriding the OnPaint event example if possible. thank you Im trying to do double buffer. but i don't have access to the SetStyle with my panel. is it because i develop on a CF platform ...Show All

  • Microsoft ISV Community Center Forums Referencing unregistered DLL

    Hi all, I've had kind help with part 1 of my problem somewhere else on the forum, but I think part 2 should be posed here. What I am trying to do is create a .dll-file (TestDLL) that contains a function (StartMe) initiating a form (frmMain) and then call that form from both an EXE-file and an Excel add-in. The DLL-file I created with VB 2005 could not be registered with Windows, so I could not call the function StartMe from within the EXE. As it turns out, I could simply include a reference to TestDLL in the EXE-file, telling it where to look for the function StartMe. Logical deduction would therefore tell me I should also include a reference to TestDLL in the VBA-code, telling that where to find StartMe. Is it possible to do ...Show All

  • Internet Explorer Development Problems with RTF file in IE

    Hi, I've a problem (the context is a web application) with an RTF file which is dynamically generated on the server and then shown on the client side with IE 6. IE automatically opens word (MS Office 2000 on the client) but then complains about the file being locked by another user Further investigations showed that the file is locked by the WinWord.exe process itself on that P.C. Unfortunately this behavior does not happen always but just sometimes... and in some client PCs, not everyone The client with the problem has IE version 6.0.2800.1106 SP1 Any idea Thanks in advance! Regards, Andrea Hi, sorry, I forgot to write that the message refers to the file being used by " ...Show All

  • Visual Studio Express Editions Mixed Columns with DataViewGrid

    I'm creating a table from unbound data, with 12 columns. Column 1 is int32, Column 2 is string, Column 3 is bool, Column 4 is string, Column 5 is bool, and the rest of the columns are string. I've got the table to create all the columns to accept text, but I'm having a problem changing columns 2 & 4 to CheckBoxes. (Column 1 can stay as string, the source is int32). Thanks, Bryan What I want is to have columns 2 & 4 contain checkboxes, not a true/false label. The plan is to change the state of the checkbox based upon external (serial) activity. Thanks ...Show All

  • Visual C# ToShortDateString format

    Console.WriteLine(DateTime.Now.ToShortDateString()); This line prints: 03/01/02007 Why In Regional and Language Options dialog on my computer I see: Short date: 03/01/2007 In the Regional and Language Options dialog, what is the current format set to (e.g. "English (United States)", "French (France)", etc.) Have you customized the short date format string at all -Tom Meschter Software Dev, Visual C# IDE ...Show All

  • Visual Studio Debugger 'corrupts' program flow

    I am new to C# and VS2005 - please excuse if this is covered elsewhere. I am developing a system modelling programme that uses a windows gui to build and manipulate a hierarchical class structure. Constructing instances of objects works fine but editing existing instances does not. Program flow based on main form - edit requested via main form function. - edit form constructed and shown from within overriden class method. Forms work fine until edit process is debugged. Setting breakpoints before form constructed and within edit form work. Setting breakpoint after form causes form to show as blank or not at all. Programme will jump to breakpoint without allowing interaction with form. Its as if the compiler has optimised form out of ...Show All

  • Visual Basic Type conversion problem

    I'm using the .NET framework v1.1 and dominantly C#, but am having a problem with some VB code. First of all, I have a type: public class Field { object _fieldValue; private object FieldValue { get { return _fieldValue; } set { _fieldValue = value; } } public static implicit operator Field(string fromRawString) { Field untypedField = new Field(); untypedField.FieldValue = fromRawString; return untypedField; } } (Compiled using "csc /target:library MyType.cs") I then write a program to use this type: public class Klass { public static void Main() { string s = "Hello World"; Field f = s; } } (Compiled using "csc /r:MyType.dll MyProg.cs") I then write a similar program to use thi ...Show All

  • SQL Server Stored proc in cache Permanently

    Does any body know a way to keep a stored proc in cache Permanently We have a very small query and some times the results are very quick and some times it takes up to 5 seconds, which is no big deal but our application and users demand right now results. (I just do what im told ha ha makes no sense to me.) Great Idea. what I have done in the mean time is tune it as much as possible and I have managed to cut the time in half to around 3 to 5 seconds for large counts. I will give this a shot thank you. ...Show All

  • Visual Basic Passing value from one form to another (tricky question!)

    - On form1 I click a button that opens form2 that has a treeview with options for me to select; -After I select an option from the treeview on form2 I assign it to a variable (public) and close form2; - I then return to form1 (it wasn't closed during the process on form2) and want to assign the value of the public variable to txtDescricao.text field. What event should I use to put txtDescricao.text=ValueSelected Thanks, Joao Pinto DMan1, can you help, please Annyone can help Thanks, Joao Pinto http://senhorpires.blogspot.com/ ...Show All

©2008 Software Development Network