Ollatek's Q&A profile
Visual Basic How do I insert a line break in a string?
I am going to write a program that lets me type text into a textbox and write that to a file. The two first lines should contain some pre-defined text that I want to write in the code. And here is my problem: I can't manage to make a line break in the text file, like when you press enter. I use strings to make the lines, but when I open the text file it's just written on one line. Does anyone have an idea how should do this ...Show All
Visual Studio 2008 (Pre-release) WPF not working at all in a Windows Service?
Hello, WinFX documentation states that WPF in the context of a service is not supported ( http://windowssdk.msdn.microsoft.com/library/en-us/wcp_conceptual/html/bf7c18db-fe5d-4f72-81c7-14079aa4ecf4.asp ). Imagine we want to develop a server application that can receive documents / print jobs in various formats load, manipulate, save images create and format flow / fixed documents print / archive documents It is requi ...Show All
Smart Device Development GPS sample and Windows Mobile 2005
hi, i found the GPS example on the SDK for Pocket pc for C#. i have no problem deploying it in my pocket pc - MDA PRO. but when i select menu item 'Start gps' it only says 'StartingUp' and does nothing else. my PocketPC is already paired with the GPS receiver. will really appreciate if anyone can help me with this. will also appreciate if anyone can point to some other sample example to connect to bluetooth gps receivers. regards, ...Show All
SQL Server Retrieve the next auto-increment number
HI, I have one master table and multiple detail tables. The primary key of the master table is an auto-increment number, which is a foreign key in those detail tables. I am wondering if SQL Server allows us to get the next available auto-increment number of the master table up front. Thanks a lot. No, you can only get it after it is created. To do this you would have to lock the table until you used the v ...Show All
Windows Forms StautusBar/Panel Problem...
Hi all :) Sorry, my english isn't good. What i do to show in panels (detect state) of CAPSLOCK, NUMLOCK TIA Douglas Unfortunately, this functionality is not built in to the status bar as it was in VB6. Some searching on the internet&nb ...Show All
Software Development for Windows Vista Upgrade to WM 2005
Hello ! I have a HP Ipaq HX2750 with Windows Mobile 2003. Can somebody help me to find out how a can upgrade this (little) machine to WM 2005, please Would it be possible to change the OS-language from English to Dutch Thanks a lot and best regards, rodan_be (Belgium) Thanks for your post. This forum is patrolled by folks who are experts in developing apps that run on Windows Vista mobile devices (e.g ...Show All
Visual C# How to Display Image From Byte
I have already received the byte [] of a jpeg image but it won't display. I am using asp.net 2.0. I was wondering what the correct way of displaying an image from a database is (I have seen the asp:DynamicImage but when I try to use it, on the build it says it is an unknown server control). Here is my code: File: DisplayImage.aspx //Here is the code that I use to call from the control <asp:Image id="eventImage" runat="ser ...Show All
Windows Forms DataGrid TableStyle Problem and ScrollBar Problem
I have an Expense Data Entry form which contains a DataGrid showing various expense categories. There are three columns Description, Cash Exp, Credit Exp, where Description column is readonly. Users have to press a checkbox to specify whether they want ...Show All
Windows Forms open calculator
hi everyone, I have a windows application where I want to click a button so the calculator open (the calculator in Start...All Programs...Accesories), is that possible Thanks. ...Show All
.NET Development .net 1.1 - datagrid -"endedit" problem
Hi, I am using .net 1.1 , .net 2003 and with c-sharp, window form designer . i have a form with one datagrid and a save button . i fill the datagrid with dataset (from database) . now scenerio :1 i edit a value in the datagrid after finishing editing , without press tab key ,i use my access key ( shortcut key) for the s ...Show All
Visual C# Sharing / Accessing comon control values between forms
I am a begining C# programmer using Visual Studio 2005 Beta and have the following question. How can I access values from common controls, like a ComboBox, or variables within Form1 (the parent) from Form2 (a dialog) and vice versa Scenario: In Form 1 the User enters form data. In Form 2 the input data is processed and the results are displayed in a new form with readonly textboxes. An explanati ...Show All
.NET Development Errors creating new data source
I've been writing OOP code for 10+ years, and am now excited to learn C#. To help me get going, I recently installed Visual Studio 2005 b2, and have been studying ADO.NET & working through some MS Access projects. I've followed several tutorials on the Data Source Config Wizard, searched MSDN and other online sources, but have come up dry trying to figure out why, whenever I click the Wizard's FINISH button, I get this error: "An error occ ...Show All
Visual Basic I need codes
I've just started on the visual basic 2005 beta 2 and i can't get any thing apart from a msgbox and i already program games in darkbasic easily but i was hoping i would be able to in visual basic but i can't find any help sections on commands and that's what i need the codes please help ! It's not clear to me if there's a question left in this thread, but just one clarification. msgbox hasn't been deprica ...Show All
Windows Forms Proper splash screen design - .NET framework load delay
Hello everybody, I want to ask what is the best practice for splash screen design. Should the main method start two separate threads for the main form and splash form Or some other approach Like the main form spawning the splash thread Because I'm rather confused, I've been reading quite a few articles on splash screens all use different approaches and entry points. So I just wanted to ask what's the best practice about the problem. Any advice i ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX certifications?
I just got my MCAD certification (VB.NET), and playing some with the directx sdk, which I find really fun. Are there also any certifications on DirectX or trainings Greetings, Project-a I'm not aware of any similar certifications existing for DirectX - I did have a brief look for some about a year or so back, but had no luck. I guess I could be wrong though. Given that the popularity/usage of DirectX only seems to be going up, ...Show All
