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

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

KaiserSozeTR

Member List

SelArom
Rick Strahl
kats
monchhib
Yustme
StarRrr
SoniaJulka
babakf
gafferuk
Glenn Skene
SCSmith
GrimStoner
dagfari
Sachi_SG
a9192shark
Panish
kundalani
Joe Lucas
AndyPham
JuKiM
Only Title

KaiserSozeTR's Q&A profile

  • Visual Studio 2008 (Pre-release) Referencing components.....

    I was wondering whether it is possible to reference a namespace (which contains some components). I know that it is possible if it put that in a sperate dll ( xmlns:MyNamespace = " clr-namespace:MyNamespace;assembly=Namespace " ) but I would like to reference a namespace that I have in the same project (Maybe sth like xmlns:MyNameSpace = " clr-namespace:MyNamespace " ) AFAIK, you cannot do it, you should put it in a seperate dll. Sheva ...Show All

  • Visual Studio 2008 (Pre-release) Generate XPS with structure information!

    Hi, I was trying to save a simple FlowDocument as XPS - however the seriazation doesnt seem to preserve the structural information - as in Story, StoryFragments, Paragraph etc. Is it possible to save a simple flow document as a structured XPS document Please, if anybody could let me know how to do it! Abhas Answer from the experts on the XPS team: Unfortunately V1 serialization from WPF does not save any structural information. Office 12 "Save As XPS" is the only current application/feature that saves structure to XPS. Thx, Rob Relyea Program Manager, WPF Team http://rrelyea.spaces.msn.com ...Show All

  • SQL Server Every other page is blank after i set my report properties to landscape 11 x 8.5

    Please does any one know what is causing my report's every other page to be blank. i made the changes to the report properties layout width = 11, ht = 8.5 the report looks good in landscape but everyother page is blank. Please help thank you very much for the info. Maybe you need to make sure that your report elements fit within the margins of your page. Whats probably happening is that it's not really a blank page just some report element that didn't quite fit forcing a page break. So if the contents is just a little too wide it will print a seemingly blank page. Setting your margins to 0 kind of gets around this issue meaning your report body must fit within the report size as there are ...Show All

  • Visual C++ GetOpenFileName(&ofn) does not do anything to ofn structure!

    When running through with the debugger, visual studio tells me that my OPENFILENAME structure (ofn) is not affected after calling GetOpenFileName(&ofn). Any ideas This function really doesn't change ofn structure. It writes to ofn.lpstrFile buffer, but structure itself, including ofn.lpstrFile pointer, is not changed. Only memory region pointed by ofn.lpstrFile is changed. ...Show All

  • Visual C++ Visual Studio 2005 professional: mspdbsrv failure -> Sporadic fatal error C1033: cannot open program database

    I keep getting the following compiler errors, albeit sporadically: fatal error C1033: cannot open program database "D:\somepath\ps_extrude.pdb" It appears as though mspdbsrv.exe is keeping file handles between builds open, causing sharing violations with itself. The compiler is using the /Fd option to specify the pdb file, on a multiprocessor machine using 2 invocations of the compiler at a time. The file access during the error looks like: ------------------------------------------------------------------------------------------ 6:28:20 PM mspdbsrv.exe:3568 OPEN D:\somepath\ps_extrude.pdb SUCCESS Options: Open Access: All 6:28:20 PM mspdbsrv.exe:3568 QUERY INFORMATION D:\somepath\ps_extrude.pdb SUCCESS FileFsVo ...Show All

  • .NET Development HELP! Change the database at runtime?

    I am building a winform app that needs to be used to create/edit numerous Access databases. I have created all of the datasets using the tools in VS2005 to create my objects to bind to my forms. I found the connectionstring in my appconfig and it points to my dummy/prototype MDB just fine. I have created a Open function that allows me to select the Access MDB that I currently want to work with. How do I change the connectionstring to talk to talk to this MDB instead of the one set in my app.config. I tried creating a new string and telling the XSD file to use this file, but the XSD keeps reverting back to it's default value for the this._connection = string. Suggestions or Ideas Thanks all! David Ok, you have lost me ...Show All

  • Visual Studio 2008 (Pre-release) Does SvcTraceViewer decrypt messages automatically?

    We're trying to see what our messages look like on the wire and have been using SvcTraceViewer along with message logging. Does SvcTraceViewer show the raw messages going over the wire or does it "massage" the message for display If it massages the message for display what's the best way to see the raw message that is going over the wire SOAP Scope Thanks, Steve Ok, found the answer in this post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=406034&SiteID=1 -Gert ...Show All

  • Visual Studio Express Editions Reading text from a txt file. Problem with ignoring polish marks inside

    Hi, I learn VBE 2005 from a book. I got a program which load txt file and shows it in text box. Problem is in displaying polish marks inside box. Program simply ignores them and I got my text files cut from polish marks. I have a polish windows xp pro. Please help! Here is code I use ( works fine with all english marks ) Public Class dialogs Private strFileName As string Private Sub btnOpen_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOpen.Click With OpenFileDialog1 .Filter = "Pliki tekstowe (*.txt)|*.txt|Wszystkie pliki (*.*)|*.*" .FilterIndex = 1 .Title = "okno dialogowe otworz" End With If OpenFileDialog1.ShowDialog = Windows.Forms.Di ...Show All

  • SQL Server EMail Subscription Error

    All of a sudden, the e-mail subscriptions for a report quit being sent. Running Sql 2000 Microsoft SQL Server Reporting Services Version 8.00.743.00 Here is the log error: aspnet_wp!processing!e40!12/11/2006-08:34:29:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing., ; Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing. aspnet_wp!processing!e40!12/11/2006-08:34:29:: e ERROR: An error has occurred while retrieving datasources for a sub-report. Details: An unexpected error occurred in Report Processing. aspnet_wp!processing!e40!12/11/2006-08:34:29:: e ERROR: Stac ...Show All

  • .NET Development help: Update Records In a Database

    I'm not using sql. All I've done is placed a dataview grid on the form and set up a datasource. Then I set up the text boxes so when you click on one of the records on the dataview grid it will shows the rest of the data from that set into the textboxes (That works). Then when I click an add button a new row appears (This also works) and then I am able to type into the textboxes with the information as required (this works). Then I'm stuck to actually update the database file because as soon as you close the form the new data is lost. I have tried using this code construct (not included all textboxes though) DataSet .tablename.column = textbox1.text; this .tablenameTableAdapter.update( this .dataset.tablename); The error ...Show All

  • Visual Studio 2008 (Pre-release) Getting to know WCF questions.

    Hey! I am building on a simple chat application that uses callbacks. The contract are created in a class library that are then referd to in myWCFCallBackHost, the contract looks like this: Contract: namespace myWCFCallBackService { /// <summary> /// The interface the service exposes /// One Session to each client /// </summary> [ServiceContract(SessionMode=SessionMode.Required, CallbackContract = typeof(IChangedHandler))] public interface IChat { //Opens a new session when executed [OperationContract(IsOneWay=false, IsInitiating = true)] void Subscribe(string inName); //Close the current session bound to the current client [OperationContract(IsOneWay = false, IsTerminating = true)] void Un ...Show All

  • Windows Forms To show a ToolTip in a cell of a GridView

    My problem is that I cannot prove to be a hint or tolltip in a cell of a GridView. Would it be better or easier to show it in a table Thank you ;D Thank you for answering I want something this way, but there is a problem, and is that the component GridView does not contain a definition for Rows I am investigating the possible cast, but nothing. Some another idea Thank you very much again ...Show All

  • Software Development for Windows Vista Windows Vista stadard resolution for application

    Hi, It may be a stupid question but I really need to know it. I heard usually stadard display resolution of application is 1024x748 to show right shape in full screen mode. ( it's a 4:3 resolution.) My question is windows vista also have 4:3 resolution Nowadays it has a lot of 16:9 or 16:10 screens and windows vista has side bar. So I wonder windows vista suggest 16:10(1284x768) display resolution for developing application. OR Doesn't it have any relation between OS and resolution Please let me know. Thank you. You should not have to care about the aspect ratio. 4:3 is so far standard and displays with other aspect ratio makes it up by beeing wider (widescreen). http://msdn.micro ...Show All

  • SQL Server SQL Server Mobile 2005 Merge Replication Problem on Windows Mobile 5.0

    Dear ppl, I am writing an application for a device (MDA Pro T-Mobile) having Windows Mobile 5.0 using -MS .NET Compact Framework 2.0 SP-1 -SQL Mobile 2005. -VS 2005 .NET The application uses Merge Replication. The error occurs in the Synchronise() Method of the SqlCeReplication object. " SQL Server Mobile encountered problems when opening the database." repl.AddSubscription( AddOption .CreateDatabase); repl.Synchronize(); I don't understand why I am having this error. It does create the database on AddSubscription() method but it is failing opening the database on Synchronise(). I have also tried uninstalling and then reinstalling all the SQL Mobile components in the following order. -sqlce30.wce5.armv4i.ca ...Show All

  • .NET Development Printing Directly to Printer

    I have a client that has a process which builds a text file. This text file contains commands that is used by their thermal printer, i.e.: ^XA^CF,0,0,0^PR12^MD30^PW800%^PON ^FO0,147^GB800,4,4^FS ^FO0,401^GB800,4,4^FS ^FO0,746^GB800,4,4^FS ^FO35,12^AdN,0,0^FWN^FH^FDFrom:^FS ^FO35,31^AdN,0,0^FWN^FH^FDAri Rothman^FS ^FO35,51^AdN,0,0^FWN^FH^ They want this to print directly to their printer. I have attempted using the following code to produce the results: public class Printer { [DllImport("winspool.Drv", EntryPoint="GetDefaultPrinter")] public static extern bool GetDefaultPrinter( StringBuilder pszBuffer, // printer name buffer ref int pcchBuffer // size of name buffer ); [ DllImport( "winspoo ...Show All

©2008 Software Development Network