moveit's Q&A profile
Windows Forms Tutorials on imaging for beginners
I am trying to make a bitmap font program. I want it to allow the user to assign an image to each char of the standard ascii lineup. Then when a user types in a textbox, it will create an image based on the contents of that box. I have seen some freeware programs that do this but are harder to use than needed. I have tried to ask for the source code (since they are freeware) but the authors have refused. So I have decided to make my own. I have no idea how to create the image though. Is there any tutorials for people who have never done anything with images in vb.net before If you want more information on what I am trying to do then please ask. Thank you, Troy L. Thank you for your reply. I have been tinkering with the code all day ...Show All
Visual Studio Express Editions Setup Failu C# 2005 Express Edition
Dear .NET Experts, I just downloaded Visual C# 2005 Express Edition (431MB) CD image from Microsoft website. After extracting the image file and while loading installation components, the setup.exe (inside the CD img file) stopped with the following error message: " An unhandled win32 exception occurred in setup.exe [1452]. Just-In-Time debugging this exception failed with the following error: No installed debugger has Just-In-Time debugging enabled. In Visual Studio, Just-In-Time debugging can be enabled from Tools/Options/Debugging/Just-In-Time. Check the documentation index for "Just-in-time debugging, error' for more information. " Title of the error = "Visual Studio Just-In-Time Debugger&quo ...Show All
Software Development for Windows Vista Problem with maximized MDI child window
I have a straightforward MDI application with four MDI child windows. The MDI client window fills the entire client area of the application's top-level window. Everything works correctly on Vista except in this one circumstance: If the application's top-level window is maximized *and* one of the child windows is maximized, the child window does not fill the width of the MDI client window (and hence of the screen). There is a strip (perhaps 10 or 20 pixels wide) down the right-hand side where the previous contents of the MDI client area can be seen - it is not repainted. If the top-level window is not maximized all is well: the maximized child window extends to the right-hand edge. If the top-level window is mazimized but the client w ...Show All
Visual FoxPro can't find object after compiling
After I create an error free form and build an Application for testing, I find that I get an error - Object "appt" is not found- (error 1923). This occurs when calling ths form from a complied menu pull down, with the code "Do form c:\apptbook\forms\appt.scx in it. This occurs when I exercise some code in a combo box like " appt.combo4.value". I don't get it, because I can run the same form with a command - Do form C:/apptbook/forms/appt.scx in the command window and all works fine. Regards...Al That's because IDE is not one to one match with runtime. In IDE whenever you run a form a public variable with the same name of scx is created. So you can refer to it as appt. ...Show All
Windows Forms Custom components incorrect position in 2005.
Hello We implemented our own windows forms designer in visual studio 2003, we have now just upgraded to visual studio 2005. Our custom forms designer works fine for the most part, except on drag and drop of components. When we drag a component now, it places the component at a -15,-15 location instead of where the mouse pointer was. If you click on a component then click the position on the design service it works fine. Has anyone else seen behavior like this and what manages the position of the drag components. ...Show All
Visual C++ Sending CB_GETCOMBOBOXINFO Message in a Winform Application
Hi, Trying to send the message by use of SendMessage function to a ComboBox control, first the compiler does not see the defined value of the CB_GETCOMBOBOXINFO, although the windows.h header file is added to the project. Still, have added the actual 0x0164 value of the message-constant to the code, the compiler generates errors regarding the four arguments required by the SendMessage routine. Any links to proper documentation for this task, or comments Best Regards, Reza Bemanian According to MSDN documentation and the content of WinUser.h file, the CB_GETCOMBOBOXINFO message is available for newer version of Windows, therefore in order to use it, you have to specify the _WIN32_WINNT preprocesso ...Show All
SQL Server Problems with an insert
Ok, I've been looking at my code for a while now and need some help. All this function should do is take the incoming ProductID and String of ChildIDs, then insert a record for each ProductID and ChildID into my table I have 2 problems with my function right now: 1) Why is my function creating zeros in the first pastthrough the loope for new ProductID passed to my function ProductID RelatedProductID 105744 0 0 105744 ...and then it's fine The problem is that the @str variable is returning zero in the first iteration in my loop SET @str = substring ( @tmpstr , 1 , @pos - 1 2) It's inserting dup ChildIDs as ...Show All
SQL Server Is there a way to loop through tables in update TSQL statements, based on name criteria?
I'm updating a table on my SQL server with fields from tables in a linked server. This linked server has about 100-150 table names that all start with public.CF and was hoping I could just create some sort of loop to update my table with all the tables that start with public.CF* name. All the tables have the same fields names. Below is my statement I use to update my table, I would just want to run a loop and change out public.CFATY with the next table name like public.CFATZ. Any help would be greatly appreciated and would save me hours of work. Thanks SELECT * FROM OPENQUERY(SCH,'SELECT [Account_ID], [Last_Action_Date], [Next_Work_Date] FROM [public.CFATY]') AS A INNER JOIN WorkList AS B ON A.Account_ID = B.[ACCOUNT#] Update WorkLi ...Show All
Visual Studio Express Editions Im a noob !HELP! plz
So anyway it has been a while since i have fooled around with VB. Just wondering if anyone would be willing to help me a little. So my idea is basic im sure. I want to make a simple program that has two buttons, two text boxes, a calander, and a print button. It will keep track of the time i work. a clock in and out button and two textboxes for them. heres the problem i dont know how to save the date and the time in the txtboxes to notepad or how to print that document. I also thought maybe i could eliminate the text boxes and just when i press clock in save the date and time to notpad. Any suggestions. Any help please. Thanks. Also where does it save this file to I put in the code and everything is fine n ...Show All
SQL Server Text-based measure
I have a requirement to model an account rank (Bronze, Silver, Platinum, etc) across time. I've decided to implement it as a text-based fact in the fact table. However, it seems like the only way to surface it as a measure in the cube is to define it with a Count aggregation function. Any other aggregate function (e.g. Min, Max) results in the following error: Errors in the metadata manager. The data type of the 'Rank' measure is not valid because the data type of the measure is a string type. What will be the recommended way to deal with text-based measures I cannot use actions (e.g. drillthrough) because the Report Builder doesn't supppor them. ...Show All
Visual Studio Express Editions Join function with array of Objects
Help lists the declaration of the Join Function as Function Join( ByVal SourceArray () As { Object | String }, Optional ByVal Delimiter As String = " " ) As String It does not describe what happens if SourceArray is an array of objects rather than strings, but I assumed that it would use ToString to convert each Object to a String and then join them using Delimiter. However when I try to use Join to convert an array of IpAddress Objects to a string like this: Dim dnsAddresses() as IpAddress dnsAddresses = Dns.GetHostEntry("AComputerName").AddressList Dim Adrs As String = Join(dnsAddresses, ", ") the Join function gets an "Argument 'SourceArray' cannot be converted to type 'String'& ...Show All
Visual Studio Express Editions How do I resize images in Visual Basic 2005 Express?
I completely new at this program or any programming program. I am using the Movie Collection starter kit and I wanted to make some modifications. All I'm trying to do is make all of the images resize themselves when I click on the maximize window button. I was able to get the MainForm image, under mainform.vb, to resize by changing BackgroundImageLayout to Stretch. However, when I try changing the same setting or any other setting for ListDetails and DvdDetailsPanel, under ListDetails.vb, nothing changes. Any help would be great. cappy78, I made a new Movie Collection starter kit, MyMovieConnection1. There are three forms in this project. I checked the ListDetails form and noticed that the ListDetails U ...Show All
SQL Server MTS Threads
I am wondering how to determine the the number of threads an MTS object can handle, and where you can view this information in the mts explorer. Thanks Mike ...Show All
Visual Studio Team System BadImageFormatException on Microsoft.TeamFoundation.Client.dll
Hello, I am just starting to work with the Team Foundation SDK and have added references to the Microsoft.TeamFoundation.dll, Microsoft.TeamFoundation.Client.dll and Microsoft.TeamFoundation.WorkItemTracking.Client.dll. I've written some simple code to create an instance of the TeamFoundationServer class. The app builds and executes, but when I step in the debugger into the function to instantiate the TeamFoundationServer I get the following exception: System.BadImageFormatException: Could not load file or assembly 'Microsoft.TeamFoundation.Client, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. An attempt was made to load a program with an incorrect format. File name: 'Microsoft.Te ...Show All
Visual Studio VS 2005 help system is broken
I have been using VS 2005 happily for 6 months with the help working fine. The help is fully installed with it set not to look online for anything. Now gradually over the past few weeks the help system is failing, now getting to a point where I can't use it. First I was getting "Page cannot be displayed" errors. This has started happening more and more often. It can be fixed by pressing the Refresh button. Now this has started happening on just about every page. The page tab title changes to "Cannot find server", but this is installed help! Now on half the pages I am getting "An error has occurred in the script on this page". Line 15, Char 2, Error: 'SplitScreen" is undefined. I have tried rem ...Show All
