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

Software Development Network >> murugan g's Q&A profile

murugan g

Member List

DiscoverIT
jennifer xiao
Vinod Seshadri
ChitownDotNet
db-C
VSFW3
Learning VB
Karl Hulme
Saroj K. Nanda
PeterVrenken
D. Omar Villarreal
Bijivb
Daniel Gonzalez Gasull
ST1
Andy_Liu
Dave Alessi
VitaminB6
djm-web
Nikhil - MSFT
DCWCore
Only Title

murugan g's Q&A profile

  • Visual Studio Printing CR report with ReportDocument class

    I am using VS 2005 and have a VB 2005 app containing an embedded CR report and using a CR viewer. I want to print a report giving the user print options via a PrintDialog box and be able to run code if the user chooses to print or cancels the printing. I have not found a way to do this with the dialog box that appears when crViewer.PrintReport method is used. My next options is to code a button that opens a PrintDialog box and uses the ReportDocument class to print the report. Documentation tells me a class is created that inherits from ReportDocument when an embedded report is created, so I am using that. My report is CaseHistory.rpt and the class is Public Class CaseHistory. Here is the code I am trying to use: Dim rpt2 As CaseH ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 1.) Lock/Unlock vs. SetData/GetData and 2.) predefined vertex formats

    Two points spring currently to my mind. Is there any reason besides simplicity not to use the common Lock/Unlock mechanics I would prefer the addition of this to the API. GetData/SetData canthe simply be mapped onto this. I have a large terrain, that I tesselate into the locked buffer directly... With this new scheme I have to build a temporary array and then copy over via SetData, same with textures. On the other hand, if we have to live with this, why do we have the managed pool anymore, kind of pointless! The other thing are the predefined vertex formats... Any reason to not expose the members directly and use setters and getters instead I don't see the point here too, this just forces us to create one intermediate result and copy oper ...Show All

  • Visual C# How to get control properties?

    Hi, I would like to know how get all the controls in a panel, I use the panel1.Controls.GetEnumerator(); but then I can't get the attributes (name, location, text) of that control. Is there any way that I can put all the Controls in a list/array wherein I can access the control's properties   Just one note to Andrej's post. You should use as keyword instead of is. That way you will have only one cast per control instead of two. Source will be like: TextBox textControl = control as TextBox; if (textControl != null) {    //here you can use textControl } ...Show All

  • Visual Studio Express Editions apstring.h and apstring.cpp help

    I want to make a progam using apstring.h and apstring.cpp #include <iostream> #include "apstring.h" #include "apstring.cpp" using namespace std; void Verse(apstring object, apstring noise) { cout << "The" << object << "on the bus goes " << noise noise noise << endl; cout << noise noise noise << endl; cout << noise noise noise << endl; cout << "The" << object << "on the bus goes " << noise noise noise << endl; cout << "All through the town" << endl; } int main() { Verse( "pig" , "oink" ) ...Show All

  • Windows Forms Need samples of datagridview visual basic 2005

    I need samples of Datagridview with updating cell and with combobox in cell and giving the datasource to the datagrid in code without use dataset Thanks yes i know i can dowload samples from http://www.windowsforms.net/Samples/download.aspx PageId=1&ItemId=220&tabindex=4 but in this sample use dataset for datasource i search samples with code for the datasource ...Show All

  • Visual Studio Express Editions Sharing connection string accross multiple forms.

    I was just wondering is it possible to share 1 connection string accross multiple forms I would like to do this so that I can go from production invironment to Development with the flip of a single switch... Dim connectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\database.mdb" thank you It sure is. Make a Public module Public Module Public connectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\database.mdb" End Module Add the module to your project, stir for three kinustes and then bake at 450 degrees for 20 minutes. :) ...Show All

  • Windows Forms Microsoft Browser Component INCOMPATIBLE with Internet Explorer 7 In Certain Cases

    I have a discovered another bug :( . Microsoft Browser COM component does not work with .swf files with IE7 installed. Two users of my program have complained that it hasn't work, they both have Internet Explorer 7. I don't use webbrowser becuase...ITS BUGGED TOO (stupid Windows bugs)....flash buttons dont work in webbrowser so I am forced to use Microsoft Browser... What can I do to fix the problem Embedded swf files do work, but the the swf file directly does not work... This blog entry seems relevant... ...Show All

  • SQL Server Setting up Security

    Hi all, Okay, here's my problem: After I login into the Reports Server ( <servername>/Reports1/Pages/UILogon.aspx ) the Home page is blank ( accpet for links to Home |MySubscriptions | Help in the upper right corner). Please read on before thinking you know the answer. I am using Reporting Services with Forms Authentication with a custom security extension. In the LogonUser methothd I validate the user and return True if the user is good. Should I be doing anything else in this method or any of the other methods in my custom extension I'm asking because, I can use Sql Server Management Studio to login into the Reporting Server, view any folders such as the Data Sources or Models folder, but can't make any changes. In the User ...Show All

  • SQL Server Error 0x80040154 exporting to excel, class not found

    Hello, I am doing a SSIS package that is going to export the value of a table into an excel file. I have set Run64bitRuntime debugging setting to false to can utilizate this export, here all goes well, but now I tried to go a little more far and I want to execute this package using the ms-dos command dtexec, and it's here where it gives me the error that in a first moment I has solved changing this set to false. Has anyone any idea of why it is giving me that error ...Show All

  • Windows Forms Form.Load????

    I have a Form that load with some default data that comes from an object....when i change the default code my information does not change even though i have the functionality for changing in the Form.Load method.....Would there be any reason the form.Load would be called if the form is closed and re-opened from a parent form this .cboStartingPoint.SelectedValue = this ._VendorDetail.StartID; this .cboEndingPoint.SelectedValue = this ._VendorDetail.EndID; if i change the value of the selectedvalue on the underlying object my information in this form does not change....it only changes when i open the form for the first time.....can anyone help out with this If i understand your problem correctly, It is that the ...Show All

  • Visual Studio 2008 (Pre-release) WCF, MSMQ persistence problem

    Hi I'm writing some code with netMsmqBinding in WCF. One of the goals is to persist every message in the receiver's queue until the receiver (either implicitly or explicitly) finishes dealing with the incoming message. When not using transactional messaging, the incoming message is removed from the queue before the service host is notified of it's arrival. Transactional messaging achieves the required persistence, but it's prohibitively slow (my system, which has 7 processes emptying out there own queue, is 4 times slower when those queues are transactional). Is there another approach i can take Duplicate messages don't matter too much, as long as each message is read and dealt with at least once. Thanks! ...Show All

  • SQL Server Poor quality on exported charts - why?

    When I view my chart reports via the ReportViewer control, they render as a .png and the text appears crisp and clear. If I then select TIFF as the format and export the chart, the resulting image has two differences: 1) The height of the .tif is 1 pixel larger than the .png (this is not a big problem for me) 2) More importantly, the .tif appears blurry! I am actually using ReportExecutionService (ReportExecution2005) to render the charts but the result is the same as exporting from the ReportViewer control. I have tried various combinations of DeviceInfo (altering DpiX and DpiY and PageWidth and PageHeight) but there seems to be no way to produce the same image that is shown in the ReportViewer control. Any ideas anybody ...Show All

  • .NET Development Dealing with large changing strings

    Hi, I am using stringbuilder class to deal with large strings. I have a StringBuilder object which gets data from the network. From time to time (every time a packet arrives), I have to check if the StringBuilder contains some data pattern to perform some business logic. The problem is that this code does not scale - after receiving around 50-60MBytes of data the application starts consuming 1Gigabyte of memory and dies with out of memory exception. The logic is very simple: StringBuilder b = new StringBuilder() while (true) { string x= getdatafromnetwork(); b.Append(x); string datasofar = b.ToString(); check if datasofar contains a pattern. If yes, quit the loop. } The problem is that StringBuilder.To ...Show All

  • Visual Studio 2008 (Pre-release) Label - DoubleAnimation on GlowSize - jerking

    Hi, i am also playing a bit with WPF at the moment, i tryied the following for an animated glow of a label: <Label HorizontalAlignment="Left" Name="label1" VerticalAlignment="Top" FontSize="26" Foreground="Black" FontWeight="Bold" Height="41.3833333333333" Margin="22,93,0,0" Width="134.5"> <Label.BitmapEffect> <OuterGlowBitmapEffect GlowColor="#FF3F3FFF" GlowSize="5" x:Name="myMoneyGlower1" /> </Label.BitmapEffect> <Label.Triggers> <EventTrigger RoutedEvent="Label.Loaded"> <EventTrigger.Actions> <BeginS ...Show All

  • Visual C++ window pointer for a new window

    Hi, I have created a new window using the following method AfxGetMainWnd()->PostMessage(WM_COMMAND, ID_FILE_NEW); How can I get a pointer to this new window What is the difference between a window handle and a window pointer Pritha Hi, You can use "CWnd::FindWindow()" method or "GetNextWindow()" to retrieve a pointer to the window. As I think a window handle and a window pointer are equivalent. Take a look at CWnd members. Regards. ...Show All

©2008 Software Development Network