Software Development Network Logo
  • .NET Development
  • Smart Device
  • Windows Vista
  • Microsoft ISV
  • Visual C++
  • Windows Forms
  • Architecture
  • Game Technologies
  • Visual Studio
  • Visual Basic
  • Visual J#
  • SQL Server
  • Visual C#
  • Windows Live
  • VS Team System

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

FritzPoll

Member List

g-spot-web
Emily Carlson
abdu
mark baran
RT
cgsteve
afrc2
龙二
RomanQ
Narrabeenzzz
vsjb34
Saurabh Chechi - MSFT
cfoks
James Proctor
Lovelu
Hawkeye7
Carnage_bz
JohanNL
Sukha
John CHLee
Only Title

FritzPoll's Q&A profile

  • Visual C++ PostQuitMessage Issue

    Hi, I have tried to automate my application through a small VB program.  This program runs fine except for when you press the quit button.  This button succesfully navigates to the designated function in my C++ code for my application but at this point it fails.  All that is in this function is PostQuitMessage(0);.  It is on this call that the application locks up, as well as the VB app locking up.  I have looked at the information for postquitmessage but it doesnt seem to give many clues.  The only part I found a little confusing is, the parameter that you pass has to be an application exit code.  Does thi ...Show All

  • Visual Studio Emailing a report

    I have a locally hosted report in an ASP .Net application.  I am rendering this report to a text stream so that I can send it via email, but I think there is probably a better way to do this. What is the best way to programatically email a locally hosted report Hi John -- How are you handling retreiving the rendering from the web control and subsequent image streams that get processed   I've been looking into utilizing this technique to retreive an HTML rendering since MS has removed that from the WinForms control, but I haven't had any real luck getting it to work yet. If you could maybe post a small code snippet, or just de ...Show All

  • Microsoft ISV Community Center Forums CGI Upload

    Hi I'm using the following code for PDF file upload via perl The code is working. but the file size is zero bytes any suggestions #!/usr/local/bin/perl -w ####### Load Needed Perl Modules ###### use strict; # Make HTML/FORMS/UPLOADING easy to deal with use CGI; # Report errors in the browser use CGI::Carp 'fatalsToBrowser'; # Limit file size $CGI::POST_MAX=500000;  # max 100K posts #######   End Perl Module Load  #######                       # Create new CGI object my $q = new CGI; if ...Show All

  • Windows Forms Dynamic creation of an SQL Server database

    i am running the function ExecuteSql(strDBName, GetSql("ERD.DDL")); Here is the actual function is define Private Sub ExecuteSql( ByVal DatabaseName As String , ByVal Sql As String ) Dim Command As New SqlClient.SqlCommand(Sql, SqlConnection1) Command.Connection.Open() Command.Connection.ChangeDatabase(DatabaseName) Try Command.ExecuteNonQuery() Finally ' Finally, blocks are a great way to ensure that the connection ' is always closed. Command.Connection.Close() End Try End Sub the problem is that when i call the ExecuteSql and i have the sample s ...Show All

  • .NET Development Windows service or IIS??

    Hi, I have developed a remote server to cache datasets. My web app deployed on multiple web servers(web farm), will hit the remote caching server (separate machine) to get or insert datasets. How do you think hosting the remote server inside a windows service scale as opposed to hosting it inside IIS The load could be heavy on the remote server. Right now I have hosted it inside a windows service (to take advantage of TCPChannel). But the nagging doubt.....persists. The proj is still in development stage. Waiting for your comments. You should consider using ASMX for this scenario. We typically recommend Remot ...Show All

  • Visual C++ C# to C++

    using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; namespace Map_Maker_Worker {  /// <summary>  /// Dialog for a useless application that runs a checksum on multiple maps.  /// </summary>  public class frmSigner : System.Windows.Forms.Form  {   private System.Windows.Forms.Button btnSelectMaps;   private System.Windows.Forms.Button btnRemove;   private System.Windows.Forms.Button btnSign;   private System.Windows.Forms.ListBox lbx;   private System.Windows.Forms.OpenF ...Show All

  • SQL Server DTSExec and Logging to Windows Event Log

    I am trying to use either DTExec or DTExecUI to run a package while logging to the Windows Event log.  This purports to be supported based on books online.  I have tried passing the CLSID and the ProgId on the command line and always get a message about the logger parameter being invalid. I am using a command line like this: dtexec /FILE "C:\Etl.dtsx" /MAXCONCURRENT " -1 " /CHECKPOINTING OFF  /REPORTING EW  /LOGGER "DTS.LogProviderEventLog.1";  /SET "\Package.DestinationDatabase";"Test15-1Warehouse" /SET "\Package.SourceDatabase";ATEST15D1 Message I get is: Argument "DTS.LogProviderEventLog.1;" for option "lo ...Show All

  • SQL Server Grouping a query in 30 seconds

    Hi, How can I make a query and group the registries in a interval of 30 seconds...like for each line I have a datetime field that have all the day, and I need it to return just like TIME Contador_type1 Contador_type2 Total 01-01-2006 00:00:30.000 2 5 7 01-01-2006 00:01:00.000 3 7 10 It's just an example...but that's the result that I need and my table is data_hora -- datetime field tipo - 1 or 2 -- count nrtelefone - that's is the number dialed. Thanks Hum...ok..I'll check again...but do you ...Show All

  • Windows Forms whidbey: creating a fading form, similar to the MsOutlook "mail received" form

    hiya, I’m looking for a form that has the same functionality as the ms outlook form that appears then slowly fades away after a mail has been received. I managed to find a pre-whidbey thread from a while back that deals with fading forms. I was wondering if I should take a different approach (as I know that I will only be using this form in whidbey http://forums.microsoft.com/msdn/ShowPost.aspx PostID=28657 PS, I know that infragistics may do something similiar, but I don't want to tie myself in to a 3rd party vendor just yet many thanks, yogi Have a look at the free VB Power Pack , it contains c ...Show All

  • Visual Studio GAC support in Templating Engine (Feature Request)

    Hello, Templating Engine provided with DSL Tools is really great and useful, but it would be more convenient to use if it had support for referencing assemblies in GAC. I know that it is problem of CSharpCompiler... which doesn't support referencing assemblies in GAC, but you can extend the functionality of Microsoft.VisualStudio.TextTemplating.VSHost.TextTemplatingService.ResolveAssemblyReference() method to search the GAC. Regards This is an interesting discussion. We use references in a two ways internally in T4 and the T4 hosts that we provide with the DSL tools. Firstly we pass the references to ...Show All

  • Microsoft ISV Community Center Forums Absolute Links in Excel

    Hi all, I need help in excel, regarding to Hyperlinks. I have a spreadsheet with a long list of Hyperlinks to different files. Excel inserts hyperlink in a relative mode by default. As a result, the data in the address field is relative data. I need to know the full path of all the files inserted in the spreadsheet. I will present this data in the TextToDisplay Field. I didn't put any screen tips, so the default screen tip shows the full path. Which mean, the full path is saved somewhere, but i cant find where. If I will find where this data is saved i will be able to use it in code, For example range ("a1").hype ...Show All

  • Visual Studio 2008 (Pre-release) PeerChannel message loss and more test data

    Here's the latest in my attempt to find a reliable configuration for PeerChannel to handle large volume enterpries messaging, and some new test results. When I first started playing with PeerChannel, it seemed like it lost messages very easily. Then I found that by adding an Application.DoEvents or a small sleep in my tight sending loop, things got better. A lot better: a couple of days ago I posted test results where I never lost a single message. If I really pushed things and tried to send a million messages, receivers eventually ran out of memory, but the network and its buffering were superb. Not a single lost message. That testing wa ...Show All

  • Visual Studio Different database names on different servers

    Hi, I created a report that uses the standard setlogoninfo routine. It works fine, when only the server name changes. However the database name is different on different servers, but the tables are the same. How can I change the databasename at runtime my code looks like this: private void Reports_Load( object sender, EventArgs e) { ReportDocument crReport = new ReportDocument (); if (ReportName != null ) { crReport.Load(ReportName); this .Text = ReportName; TableLogOnInfo tliCurrent; foreach ( Table tbCurrent in crReport.Database.Tables) { tliCurrent = tbCurrent.LogOnInfo; tliC ...Show All

  • Software Development for Windows Vista Question about delay activity

    Hi, i have a parallelActivity1 in my project and under it i have delay activity which will be fired every 10 minute and event listener the problem here that when even A happend everything is ok and i should close it but the problem that the delay execute even after event A happend is that because it's a parallel process and is there's any way to make a condition on the delay activity itself to stop it if event a or b happen other wise it should fire it's evnet after 10 minute I think what you want is the listen activity. The parallel activity executes both branches of code. The listen activity allows ...Show All

  • Visual FoxPro empty field

    is there a better way of checking for empty fields than select *; from myTable; where field1 = " "; into cursor data1 i need to run a complete check on the database for empty records in every field. How would i check for a 'date' data field Mike Where EMPTY(field1) This will work for all data Types. If you want to check every filled you will need: Where EMPTY(field1) or EMPTY(field2) or EMPTY(field3)... if you want something more dynamic look at the Afields() Function  Dave M. ...Show All

©2008 Software Development Network