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

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

anindya_mozumdar

Member List

Claudia K
thatdbme
atp818
Terry7
TerriP
paul rees
Saka69
Andrew Jacobs
Softbaked
Shane Dixon
JKelley
DTHMTLGOD
Paul B - Miami
alfredd
GManNC
Citco
levu
helen put
Tillmann
Preposterous
Only Title

anindya_mozumdar's Q&A profile

  • Windows Forms SuspendLayout() confusion - When and when NOT to call it ?

    Hallo there! I'm new to this forum, greets to you all. I have a question about the SuspendLayout() - ResumeLayout() pair, I'm not sure if I understandd correctly when and where they're really supposed to get used, and where absolutely not. I made a UserControl, of which I draw alle the content myself. First, I used a bitmap whre I drew all the stuff i ...Show All

  • Visual C++ Problem creating a window with hThisInstance

    Hi, to create a window i have used this code: hwnd = CreateWindowEx( 0, "NUESTRA_CLASE", "Ejemplo 001", WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, CW_USEDEFAULT, 544, 375, HWND_DESKTOP, NULL, hThisInstance, //<==== NULL ); But when i compile it says: error C2065: 'hThisInstance': identifier not declared What could be the problem Hi, You have to declare hThisInstance before calling the function, something like HINSTANCE hThisInstance=NULL; For that particular case this parameter is ignored unless yo ...Show All

  • Software Development for Windows Vista Dispatcher class

    It seems that System.Windows.Threading.Dispatcher class can be used to add inter-thread event handling to any thread. But in documentation it says "Provides user interface (UI) services for a thread". My question is, can I use this class to provide event dispatching between threads that are not UI threads Google did not find any useful links on the subject. ...Show All

  • SQL Server FOREACH Loop Container: Continue ?

    With a ForEach container, configured to loop through files in a directory, if I have a problem with a file.. can I direct the loop to skip on to the next file I'm processing structured files, first record of each is some header info, body records are in the middle, and then the last record is a trailer containg a checksum So, for each file in the directory, I split the records into three raw files, one for header rec(s) , one for body recs and one for trailer recs. (based on line numbers and using a conditional split to direct the records) Then I start by processing the header recs in a dataflow.. if all goes well ther ...Show All

  • Visual C# Child windows in child windows in child windows

    Hi there, This may be a stupid/newbie question, usual apologies if so, but I'm writing in C#, and I've got an application with an MDI setup, and I want to add windows in as child windows to the MDI's child windows. For example, my documents contain many objects, and I want to add a dragable window (preferably toolbox look, with only a title and a close button) _inside_ the document (MDI client) window to represent certain objects; that window for an object would move around if you scrolled the document window, and the document window scroll bars should reflect the object window's existence, and so on. I guess I could create a control or g ...Show All

  • Windows Forms App hangs on minimize

    I am building my first windows app. And it keeps hanging on minimize. Can anyone think of where I might start looking in order to solve this problem  It is really a bizzare thing and I can't understand what is going on. Thanks I had this with an app that removed controls dynamically. There was a small hidden form called the parki ...Show All

  • Smart Device Development Using the Data Access Application Block in Smart Device Apps

    I am writing a Smart Device App and trying to use the Data Access Application Block (Microsoft.ApplicationBlocks.Data.dll) version2 in the data layer. I have succesfully use the dll in normal windows programs without any problems. However when i add my Data layer project to the Smart client project, i receive the "TypeLoadException" exception. Is the Data Access Application Block  not supported in the .NET compact framework Take a look at the recently released application blocks from OpenNETCF which were released in collaboration with the patterns & practices team at Microsoft. http://www.opennetc ...Show All

  • Visual Studio Express Editions my.computer.fileinfo

    I have been attempting to learn some of the new nifty items in the 2.0 framework, i am trying to search my entire c:\ drive for .jpg files and it throws an exception when it gets to a system directory. I have attempted to set system.securty to the min permissions to no avail, will post code and error when i get home, but if someone else has seen this any help now would be appreciated. code below For Each str As String In My .Computer.FileSystem.FindInFiles( "c:\" , "*.jpg" , True , FileIO.SearchOption.SearchAllSubDirectories) 'instance = Security.Permissions.SecurityAction.RequestMinimum tv ...Show All

  • Software Development for Windows Vista How is WWF Store Persitant Workflow Information

    Hi ,   I would like to know the storage used to store a workflow in the WWF, is it built on SQL Server 2005, or is it on a file system. well i am asking so since i am planning to provide a windows service to act as the hosting environment, and i need to know do i have to provide my own persitant storage mechanism or is it already provided. Akram - the persistence service in WWF is pluggable.  There is a built-in persistence service implementation that uses SQLServer (SqlStatePersistenceService).  You can either use that or create a derived class from StatePersistenceService and register it with the WorkflowRuntime (Workf ...Show All

  • .NET Development WSE 3.0 Hand on Lab problem with IIS5.1

    I have installed and test with not problems the samples of WSE 3.0 and also the P&P samples. The test system is using WP/Pro, IIS 5.1 and VS2005. Now I have tried the WSE 3.0 Hand on Lab samples. I executed the installvdirs.exe, that create all the virtual directories. After load in VS2005 the WebService projects C#: CS\Part1\before or Part1/after, they are giving error as if the IIS server is not serving the WS page. The same projects in VB: VB\Part1\before or VB\Part1\after are working right. Has anybody checked same situation I just had to reset the permissions on the virtual direct ...Show All

  • Visual C# Trimming strings

    I am looking for a way to deny the user to type certain symbols into a name, because later I want to use that name to create a default filename or folder.   A mask would be nice, but I haven't found one. I can trim from both ends, but not from the middle, and also trimming moves the cursor to the beginning of the line. After a zillion failures I came up with the idea below, but unfortunately the Undo method does not work as I expected and may even cause the application to crash. Any ideas Regards,   Guido private void myTextBox_TextChanged( object sender, EventArgs e) { if (myTextBox.Text.Contains( "*" )) myTextBo ...Show All

  • Windows Forms ComboBox DataBinding & CurrencyManager

    I am having trouble displaying the correct value in a combobox when the position of the CurrencyManager changes. I have a pretty complex DataSet with 5 DataTables and 4 DataRelations. For this particular, only 2 DataTables are involved with one DataRelation. The major DataTable is Products, all of the controls on the form bind to this DataTable or is Related to it somehow. One field of the Products is a CustomerId, which can be selected from a ComboBox. The DataSet has a related DataTable for Customers through a DataRelation CustomersProductsRelation (note: it seems that Customers is major to Products because of the one-many cus ...Show All

  • Visual FoxPro Adding Charts and Graphs to FRX....

    Hi, I'm using VFP 6.0. I've applications having .dbf data files.... Can someone explain me the way to produce MS Chart or any OLE objects in a FRX report....Any sample code would be appreciated... Thanks in Advance... Markish Can someone explain me the way to produce MS Chart or any OLE objects in a FRX report....Any sample code would be appreciated... You can download the white paper and sample code from my session on "Creating Graphs In VFP" at http://www.tightlinecomputers.com/Downloads.htm There are examples using MsChart.ocx, MsGraph, Excel Automation and the Office Web Components. However, the c ...Show All

  • Visual Studio Team System source control- adding empty folder

    Hi Is it possible to add empty folder to source control Thank you all Given the answer from Richard, I want to add some clarification - this works both if the folder does or does not exist on disk already.  If it already exists, it's left alone (including any contents, which would *not* have adds pended on them using these steps). Admittedly, it may seem strange to do "New Folder" if the folder already exists on your local disk, but from the version control perspective, it's a new folder. :) ...Show All

  • Visual C++ Mixing Templates and Generics

    I think I've raised this questions a couple of times and the first time some three years ago - and have never got a real answer. Why does the language disallow mixing templates and generics. What's wrong with: template < typename T > value struct outer {   generic < typename U > void foo(); };   or generic < typename T > ref struct outer {   template < typename U > void foo(); };   And in case you wonder, yes I really wrote some code which exactly does that and I don't think it's hard to think of examples. -hg What would the IL representation ...Show All

©2008 Software Development Network