ROLIVIER's Q&A profile
Visual Studio Express Editions need some help
My textbox has a default message (ex. Please enter name here!) and I want that message to dissappear when someone clicks on the textbox. Can anyone please help me on this. Thanks. I am using VB as my language. Why does it states that event 'MouseClick' cannot be found. Also with GotFocus. Is it because im only using the express edition ...Show All
Smart Device Development Error calling web service from WinCE 4.20 device
Hello, i wrote an application for smart devices with C#, Net CF 2.0. This app calls web services running in IIS on my server. The app runs without problems on a WinCE5.0 device and on a WinCE4.20 Second edition device. Calling the web service from a Datalogic Jet running WinCE4.2 - not second edition - with .NET CF 2.0 SP1 fails. Because of an other problem ( seen thread "not a valid Windows CE SETUP file") I do net get a error message. From browser on the DataLogic device i can call the site running the web service, so it should not be a connection problem. Where could be the problem Thanks for any help. Jorg .NET CF 2.0 is not supported on Windows CE.NET 4.2 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA Breakout
Hello, I have about a year of experence with C# and I have tried a simple game using XNA, I made breakout with some crappy homemade graphics Would anyone mind to look at my code and tell me what I could do better with Note: The game is not completely done yet but for the most part, it works. Code is at http://joshmackey.net/programming/XNA/XNA%20Breakout/ Haven't looked through all of the code yet, but I liked your idea of StateManager. It's very, very similar to the one I'm using in my own project, but now I noticed there's a few things I can definetly use to improve my implementation! Could you pack your project So as not having to download file by file ...Show All
Smart Device Development setting cursor postion
Hello, i m newbie.i have develop an application which on OnInitDialog() set values on the editbox email_msg.SetWindowTextW(L " hello world" ); but problem is that it set the curosr position at the start of edit box i want cursor position after d of hello world how i do this any API or method for setting cursor Thanks Salman hello, int len=strlen(L"Hello world"); just Simple after email_msg.SetWindowTextW email_msg.setsel(len,len); Thanks Salman ...Show All
SQL Server SetDefaultInitFields fails for a Column using ExtendedProperties
Hi, Using SetDefaultInitFields fails for a Column when specifying "ExtendedProperties" as a field. note: SetDefaultInitFields seems to be ok with "DataType" as a field. The exception is "unknown property ExtendedProperties". Thoughts on what might be the issue with loading the ExtendedProperties Thanks, Andy B Following is a snapshot of the test code: System.Data.SqlClient. SqlConnection dbConnection1 = new System.Data.SqlClient. SqlConnection (); dbConnection1.ConnectionString = "Data Source=.\\SQLExpress;Integrated Security=SSPI" ; dbConnection1.Open(); Microsoft.SqlServer.Management.Common. ServerConnection serverConnection1 = new Microsoft.SqlServer. ...Show All
Visual Studio Express Editions Window fully loaded
Is there a way to check if a window has been fully loaded In particular, I am starting a program with Process.Start This opens up a window where the process is loaded after some time. I am using sendkeys to that window but I need to do it only once the process is fully loaded so that it accepts my keys. In Internet Explorer there is a handy readystate method, but I understand that for other applications, if they do not send this information to the operating system what I am asking may not be available. Thanks, Antonio Thank you for your suggestions, but they did not work for me. My process opens up a character based window and it seems that it does ...Show All
Windows Forms what will happen if i use command builder
hi my program raise concurrency violation exception and i read all of the articals that MSDN says about that exception but at lastt one of my friends says that i need to use the command builder to make the update statment manually instead of using wizards in vb 2005 to generate sql statements so if i use the command builder is the concurrency violation exception will disappear if not what is the solution for that exception i need help really i disappointed thanks in advance. Here's an example: public static SqlDataAdapter CreateCustomerAdapter( SqlConnection connection) { SqlDataAdapter adapter = new SqlDataAdapter (); // Create the SelectCommand. SqlCommand command = new ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Using the framework with WinForm controls
Anyone have any idea on how to redirect the rendering output to something like a winform Panel control, so that I could use the framework for traditional applications Using GraphicsComponent without the XNA appmodel (i.e. Game) isn't going to go very far. The GraphicsComponent needs a Game to own it. If you want to embed rendering in a Windows Form then you'll need to work with GraphicsDevice. op, out of curiosity, why do you want to render into a panel (i.e. is it a tool, multiple views, don't like Game, ...) ...Show All
Visual Basic Control Arrays
Ive just been using vb2005 for a couple of days and i have discovered that it desnt support control arrays the way vb6 and previous did. How do i write code that controls 150 picture boxes! heres an example, Private Sub Timer1_Timer() Dim Value Dim a As Integer a = 0 Do While a <= 150 Randomize Value = Int((4 * Rnd) + 1) ' Generate random value between 1 and 4. If Value = 1 Then picBox(a).Picture = picBlue.Picture If Value = 2 Then picBox(a).Picture = picRed.Picture If Value = 3 Then picBox(a).Picture = picGreen.Picture If Value = 4 Then picBox(a).Picture = picWhite.Picture a = a + 1 Loop End Sub Can any1 tell me how this code will look in visual basic 2005 Why did they have to change control arrays! Thanks ...Show All
Visual Studio 2008 (Pre-release) Application.LoadComponent() for unreferenced assemblies
Application.LoadComponent() works well for xaml files that are inside referenced assemblies (ie. added as a project reference). I have a specific scenario where my assemblies will be stored in a subfolder but are not referenced. I still need to be able to call LoadComponent() to load the xaml files inside those assemblies. Is this possible or an unsupported scenario Note that my assemblies would be in a subfolder, relative to the application. I haven't been able to find a solution in the SDK docs. This scenario is a core requirement for the plugin architecture that I am building. Anyone dealt with something like this before I think you should configure with app a little bit by adding the following config file: < xml versi ...Show All
SQL Server Transactions in SQL CE 2.0 and CF1.1
Hi world: I have this issue: I need to push rows from CE to SQL Server 2000 and after delete these rows of CE database only if all rows have been sent to SQL Server 2000. I think the best is work with transactions. Since I know I can use transactions for this purpose, can anybody give me a link with push transaction examples System.Transactions are not supported on NETCF, so you can't do both operations as one transaction. You can, however, execute SQL and SQL CE parts in separate transactions using SqlTransaction and SqlCeTransaction classes. Examples can be found on MSDN . ...Show All
.NET Development Can you help me please
How can in the database to save project Example: I create database in the MS Access and i export to VB Express edition, but in the form i create button with name "Save" and when you clicked , it will save the your new fatures (Name,Lastname,City,Country,State etc). Just Save no .txt or others. Thank you! Fundementals of ADO: http://msdn.microsoft.com/library/default.asp url=/library/en-us/ado270/htm/mdconadofundamentals.asp Overview of Saving Data: http://msdn2.microsoft.com/en-us/library/ms299758.aspx ...Show All
SQL Server Error when Save A Copy of Pakage in SQL Server
Dear All, I just created SSIS in my local computer. It is successfully run if trigger manually. I want the SSIS triggered by SQL_proxy_agent. So, I try to save the copy of SSIS pakage in SQL Server but there is an error appear: Error Code 0x80040E09: Execute Permission denied on Object ' sp_dts_getfolder', database 'mdsb', shema 'dbo' Could anyone clear my doubt. Thank you. You need to either: a) Connect to the SQL Server using Windows Authentication on an account that has administrative rights b) Connect to the SQL Server using SQL Server Authentication on an account that has sysadmin rights, or any account that is permitted to access sp_dts_getfolder (sysadmin is the surest one). HTH ...Show All
Community Chat JimmyWidgets
--- Original Post --- Hi everyone! My current project is JimmyWidgets, a widget program like Apple Dashboard, but for PC! You can even make new widgets in DLL format and post em on the online database! When I've made more widgets (I've only got 2 at the moment), I'll post it at www.jimmyware.co.uk . It's going to be open-source, so you can download the source from there too. Here's a screenshot: http://www.freewebs.com/robinjam/JimmyWidgets%5FScreenshot.jpg I await any comments/suggestions! (But please don't be too harsh about my efforts, it took me HOURS) P.S. A list of problems I need to fix: The online database currently lets you download the same widget twice, making startup time longer (because ...Show All
Windows Forms Customising DataGridView
I would like to be able to change the way the gridview looks in Winforms C# . I would like to round off the grid rows (not rectangle) and change the column headers to be a gradient blue as well as gradient the background of the gridview (having cell padding set) is this possible if so any hints would be great Thanks Hi, you can do some custom cell painting within the dataGridView's CellPainting event... Look at this MSDN HowTo article ... Andrej ...Show All
