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

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

mszlazak

Member List

Jignesh Desai
tiomeg
USJOHN
PAULL
Enix591
Saqib Jahangir
Dharan Prakash
the-rpd
DW Developer
Devin
LuckyL
Xiaobo Gu
pvvr
simurg
DavidThi808
MerryPoppins
Daniel_JP
Corres
prasadKR
BarataMota
Only Title

mszlazak's Q&A profile

  • SQL Server running ssis package with a remote sql agent?

    hi all, thanks for the valuable information all the time!!! saved me a lot of time... our team developes a system for text data improvement using ssis . we have a few heavy packages that we want to execute on two separate "SSIS servers" that will be dedicated to runnung these packages only, and repeatedly. the main sql server will be placed on a different server machine . my question is: what is the best way to do this if we schedule these packages as a job of the Sql Ajent- does that mean that the packages will be executed on the sql server machine (which is not what we want) or could we define a remote machine to run the package on, and specify our "SSIS servers" or- should we use a simple scedua ...Show All

  • Windows Forms Control the creation docked objects

    Hello, I want to create several buttons within another panel. These created buttons are used for a tuchscreen app. Each Button reveices a DockStyle TOP. The problem is that the second created button comes above th first, and the thrid above the second. As the buttons are dynamically generated from a query i just can reverse my ordering and it works. But i want to know if it is possible to create a button and dock it below an existing button, both with style top. This is my code. foreach (DataRow row in myDataTable.Rows) { SimpleButton sb = new SimpleButton(); sb.Text = row["PRDTYPE_NAME"].ToString(); sb.Height = ButtonHeight; sb.Dock = DockStyle.Top; sb.Parent = pcLeft; sb.Image = imgFolder; ...Show All

  • SQL Server Adding DataSet as DataSource to Report Published on Report Server from ClientSide

    Hi I am Creating Click Once Windows Application with Reporting Services 2005.I have created Report and Published on Report Server.In my windows application I am successfully able to view my published report through report viewer control. Now in my application I am getting a dataset from my custom webservice. I want this dataset data to be added to my report as datasource at runtime on Client Side ,as my report is on Report Server. waiting for help!! Thanks in Advance Pankaj You can dynamically set the data set using .LocalReport.DataSources.Add. If you look on http://www.gotreportviewer.com/ you will find examples to go by. You may also want to look into writing a custom Data Processi ...Show All

  • Visual Studio Express Editions using api in vb.net

    Hi, I am migrating an application from VB6 to VB.NET at the moment. There is a Windows API call in one of the subroutine which will not run through, see below (words in red are added by VB.NET): Private Sub hook() ' UPGRADE_WARNING: Add a delegate for AddressOf WindowProc Click for more:... lpPrevWndProc = SetWindowLong(gWH, GWL_WNDPROC, AddressOf WindowProc) End Sub my question is how can i add a delegate for windowProc how does a delegate work Thanks I think just adding Sub WindowProc End Sub would work, hmm. Interesting code there, does it subclass another window Can you subclass windows in this way Ahmedilyas ...Show All

  • Software Development for Windows Vista Vista C:\Documents and Settings\All Users\Application Data installs

    I have an app that installs in C:\Documents and Settings\All Users\Application Data + Program files dir/. what would be a good solution for me not to have 2 different program installs for 2 different OS.. XP & Vista.. You shouldn't hard-code paths like that. Not only will your code fail on different versions of the OS, you'll also fail on different language versions of the same OS (e.g., French Windows XP does not have a "Documents and Settings" folder), and on systems where the users' folders are not on C: (roaming profiles, profiles on a different local hard drive, etc.). Search MSDN for the term "CSIDL_COMMON_APPDATA" for references on how to install to that location in a portable manner. ...Show All

  • Visual C# relative path for webBrowser question ...

    How do I specify a relative path instead of an absolute path for the webBrowser control I want to load a local image for the default display, and not have to chase it down to a specific folder... this is what i have.. and it works just fine.... { webBrowser1.Navigate( new System. Uri ( @"C:\Documents and Settings\paul\My Documents\Visual Studio 2005\Projects\MyProjectName\ProjectName\Image.gif" )); } but I would rather have ... (this does not work) { webBrowser1.Navigate( new System. Uri ( "Image.gif" )); } well given that if the file is stored in the same directory as the application running directory, then use: Application.StartupPath + " \\I ...Show All

  • .NET Development Getting line numbers of CodeDom elements.

    After I call GenerateCodeFromCompileUnit is there any way for me to get the line number for the document's CodeTypeMember objects No, I'm sorry, I don't believe there is. What would you do with it if you could Perhaps there is another way to address your problem. ...Show All

  • Windows Forms How to set the line style when using ControlPaint.DrawReversibleLine

    ControlPaint.DrawReversibleFrame lets you set a frame style (Dashed, Thick, etc) but ControlPaint.DrawReversibleLine only draws a plain, ordinary line. Is there a way to draw a reversible line with different styles Thanks in Advance This thread suggests that it is more efficient to invalidate the control to draw a selection frame than to use a reversible line -- not very good advice unless your user has a fast computer and a newer graphics card. A better approach is to define your own line style and draw it yourself! The decision to leave the ROP out of GDI+ is still a questionable choice IMHO :-) ...Show All

  • Smart Device Development x509Certificate(filename) constructor missing

    Hi, Using the full framework I am easily able to check the cert that was used to sign an assembly. How do I do this on a PocketPC The x509Certificate class in the Compact Framework requires me to have read the certificate into a byte array. Furthermore, evidence related members are not available in the Compact Framework version of the Reflection namespace... How do I read the certificate from a signed assembly into a byte array Platform invoke I've been combing the web for days. Can someone please help me out. Thanks. Thanks Sandy. But I titled the thread wrong, so I will create a new one. I have to find out how to deal with the lack of the x509Certificate.CreateFromSignedFile(filename) member. ...Show All

  • Visual Studio 2008 (Pre-release) ListBox shows (Collection)

    Hey all, I have a listbox that I am trying to display my data in but I am only seeing (collection). What does this mean Thanks, Dvl Lets say you have a collection of customer objects with firstname, lastname as properties you would do <ListBox ... ItemTemplate={StaticResource dt}> </ListBox> In the resources you would define <DataTemplate x:Key="dt"> <TextBlock Text="{Binding Path=fristname}"/> </DataTemplate> ...Show All

  • SQL Server Problems Creating Report

    Hi, I have only recently started playing around with Reporting Services (2005), and I am having some problems creating a basic report. What I want to display is a table which shows product names in the first column, sales for a specific period this year in the second column, and sales for the same period last year in the third column. The 'specific period' is determined by specifying a start week and an end week which I have set up as parameters. I have managed to produce the first 2 column with no trouble. However, for the third column I need to subtract 52 weeks from the parameters and use them as new parameter in the third column. Can anyone offer any suggestions Dave Ok, I man ...Show All

  • Visual C++ vector::resize causes floating point exception

    Hello, I'm hoping for a reality check here. The following program generates a floating point exception in the vector::resize call. I compiled it under VC 2005 using the command line in the comment below. I've disassembled the executable and found that vector::resize creates a default Point object which is then copied to the new empty elements at the end of the vector. But note that the Point constructor doesn't initialize the x and y members. This means the bits are garbage, and vector::resize will copy the garbage to the new elements. This is no biggie because I don't use the uninitialized elements. However, the problem is that the compiler uses the floating point processor to copy the doubles. Whe ...Show All

  • Microsoft ISV Community Center Forums WER Code Signing Requirement

    Hello, Recently I discovered that the Microsoft Windows Error Reporting program is open to all developers free of charge if two requirements (more or less were met). The first requirement was that upon signing up for the program, the candidate company must send a unique Verisign certificate that represent's their organization's identity (about $100). The second requirement was that the application to be submitted to Microsoft for WER must also have a Microsoft Authenticode signature also provided by Verisign (for about $400). My only question that I have is whether I could go with some other signing authority who participates in the Authenticode code signing program (Thawte for instance), and still participate in the Windows Error ...Show All

  • Visual Basic Converting a string into required date format in vb.net

    Hi friends, I want help in converting a string which contaions 5 numbers,into a required date format for the code below: dim strDate as string dim objdate as Date strDate = "60727" //6 as yy 07 as mm & 27 as dd strDate = strDate.Substring(0, 1) & "-" & strDate.Substring(1, 2) & "-" & strDate.Substring(3, 2) objDate = Date .Parse(strDate) while executing it returns 6/07/2027 which means 27 as year while i want 27 to be a date. and format should be exactly 2006-sep-27.So plz help me regarding this code. the formatting is done when you call the ToString() of the date object, giving it the format type ...Show All

  • Visual Studio Express Editions Compare a String

    How do you compare a string to see if it contains the certain charactors your looking for. For example: I have a file called test.htm and I want my program to check that it has ".htm" on the end of the file name. How can I go about checking that private void button1_Click(object sender, EventArgs e) { String s = @"c:\temp\test.htm"; if (s.EndsWith(".HtM", StringComparison.OrdinalIgnoreCase)) { Console.WriteLine("It works!\n"); } } ...Show All

©2008 Software Development Network