Sung M Kim's Q&A profile
Visual C++ CFtpFileFind
Any known Problems with the CFtpFileFind-Class in Visual Studio 2005 My code crashes in CFtpFileFind::FindFile(filename) with an exception. This happens the second time the function is called. Code worked with Visual Studio 7.0. Could you post small sample reproducing the issue Thanks, Ayman Shoukry VC++ Team ...Show All
Microsoft ISV Community Center Forums Lost... Face on a milk bottle lost
Hello everyone. I am a new programmer and new to this board, as you might have noticed from: (choose one) 1)Incorrect placement of thread 2)Horribly easy question I am in High School with aspirations of becoming a game programmer, and have a bit of a problem. I am using VBA for a game, and I am trying to, for lack of a better term, Group controls together. my question is this: Is there a way to group 2 or more imageboxes or other control together, so I may reference the group to, for example, bounce a single in a group of blips off of a wall I've been told to use a Class Module, but I've no clue how. An example of t ...Show All
Visual Studio 2008 (Pre-release) Inconsistancies between May CTP and documentation
I'm reading through the VB 9 overview documentation and am finding a number of cases where the documentation does not appear to agree with the current CTP. I would be interested in knowing if these are features not yet implemented or errors in the documentation. 1) The documentation states that the query comprehensions are compositional which should mean that the order of the expressions should not matter. Thus you should be able to interchange the order clause with the select clause. However, it appears that the compiler requires the order by clause to appear after the select clause in the recent drop. For instance, while the following i ...Show All
Windows Forms Size of the explorer window Title bar in C#
Is there a way in C# that i can use to get the size of the titlebar of the window (windows explorer window) i'm cutting the form for making good interface using regions and graphicPath and so. i did well & every thing is ok in windows 2000 while in windows Xp where the theme is different and the size of the titlebar differs the ...Show All
Visual C# How do I move my records in one dataset into SQL database with field matching?
I am working on a attendance application( base on SQL Express) for school, I figure out the way import the CSV files(Attendance Record) into a dataset but I cannt find any information regarding how to transfer the record into SQL Express Thanks Hi, Try using the sqlDataAdapter object. You need to set its select, insert, update, delete command. After doing that you can try doing something like: System.Data.SqlClient. SqlDataAdapter adapter = new System.Data.SqlClient. SqlDataAdapter (); //Set the commands.. adapter.Update(dataSet); The adapter will check the status of each row in the dataSet and will invoke the apropreat ...Show All
Visual C# Object instance inheritance...
Hi guys, I'm doing a little project and here is my basic layout (please don't ask me to change it, I'm following guidelines) CGS - Class library (dll) - Gallery (instantiates Pieces) - Pieces (collection class) ArtGalleryWin - Client Project - frmClient (instantiates Gallery) - frmSellPiece (NEED to use instance of gallery from frmClient) So, what i need to do is use the instance of Gallery (Gallery cgsGal = new Gallery) from frmClient on frmSellPiece. I need to iterate through the collection to perform an operation on it. I can't for the life of my figure out ho ...Show All
.NET Development recuperer les detail d'un email en utilisant le pop
je suis entraine de developper une application en c# qui consiste en la recuperation des email en pop mon probleme c'est que je ne peux pas recuperer les details d'un email separement (je le recupere en vrac ) par exemple la date de reception toute seule, l'objet .....etc. merci To further Jon's point, we currently don't expose a MIME parsing object model. I beleive this is what you are looking for. As Jon notes, we are strongly considering this in a future release. ...Show All
Windows Forms double click on datagrid row
Hi, can anybody tell me how to capture the double click event in a datagrid. What i want to do is when user double click on any cell a row in the datagrid, a new form pop out showing the details of that particular row use for updating purpose. I do not want the mouse cursor to become a text pointer when the user click on t ...Show All
Windows Forms MDI Child closed but MDI parent think other
Hi, I have strange problem that the mdi child are closed but when I open new mdi child I see the buttons of previuos MDI childrens. I checked and found that no reference in MDI parent to MDI child. Why this is And how can I solve it Thank's, Alexei Hi, If you defined the child form as a variable (say its name is FrmChild ), use this method before show it : FrmChild Variable = New FrmChild ...Show All
Windows Forms Failure to load designer due to VS2005B2 fault
The following (or a variation on a theme) happens with rather predictable regularity: One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. Clicking on each error will take you to the line of code that caused it. Object of type 'System.Drawing.Size' cannot be converted to type 'System.Drawing.SizeF'. Hide at System.ComponentModel.ReflectPropertyDescriptor.SetValue(Object component, Object value) at System.ComponentModel.Design.InheritedPropertyDescriptor.SetValue(Object component, Object value) a ...Show All
Visual C++ Deploying a DLL
Greetings, I have a DLL that gets loaded from (my) javascript subsystem that executes within the environment of a major, industry stanard, trading application. The DLL was developed using C++ and VS2005. The DLL does NOT use the Common Language Runtime. It uses MSMQ via importing: #import "mqoa.dll" no_namespace The good news is that the DLL works perfectly, on my system. The bad news is that if I send it to a client, it aborts with an error from the trading application saying that the 'dll cannot be found.' I sent the DLL to other clients as well as the support group of the company that makes the industr ...Show All
Visual Studio Team System Performance degradation after the conversion of windows app from .net 1.1 to .net 2.0
I could see that there is significant performance degradation after the conversion of our windows application from .net 1.1 to .net 2.0. It was running fine in .net 1.1 and VS2003, but after the migration to .net 2.0 and VS2005 many screens are loading very slowly. I could not figure out the actual reasons for this performance degradation. We can also see that the application runs little faster if it runs out side VS2005. I am using Visual studio 2005 team suite for the development. pl share your ideas and suggession if you have faces such kind of issues. Thanks Have you used the Red Gat Ants profiler . This is a very e ...Show All
SQL Server SQL Express Reporting Services
Wow! We get reporting services in SQL Express. Excellent! Now, how do I save/deploy a report. Can we set up a report server locally. I feel a bit cheeky seeing as how this is all free, but where are we supposed to store the reports we create in the (free! thanks!) Business intelligence tool. Cheers Mick The reports are stored as standard .RDL files that are deployed and run on a local report server. Of-course the reports that are created can only report against a local SQL Server data source. hope this helps Herain ...Show All
Visual C++ CBitmap - Simple example
Hi, I am trying to load some images in a Picture Area. I only have the pointers to the images, and this pointers are of the type unsigned long* (I can also convert it to IplImage* to use with OpenCV). This unsigned long* get the images grabbed from an camera and I would like to display these images in this Picture Area (it is real time, I get the images from my camera and display them). I have tryied to use this (HBITMAP)LoadImage function, but the last parameter is always LOADIMAGEFROMFILE but this is not real in my application. So, can you help me with convert my unsigned long* to an Bitmap and than load it on the exacly place that I want ...Show All
Windows Forms Big Problem, I think it's bug
-VS2005 RC -Framework 2.0 release When I close a form with bindining datasource on it, I have this error. An unhandled exception of type 'System.ArgumentException' occurred in System.Windows.Forms.dll Additional information: Sort string contains a property that is not in the IBindingList. Looks like a bug to me as well. This is just a simple workaround: Private Sub Trxns_FormClosing( ByVal sender As Object , ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me .FormClosing Me .TRANSACTIONSBindingSource.Sort = Nothing End Sub ...Show All
