bablo's Q&A profile
Smart Device Development Odbc link for ppc
Hi I want to make a ppc application and write data from the ppc to a local access database, i've seen it's possible with odbc.. but i don't know how Can someone help me with this grtz I've outlined that here, please take a look: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=287811&SiteID=1 ...Show All
Windows Forms MaskedTextBox / TextBox (maximum number of chars event) ?
Hello, I have several forms that use TextBoxes/MakedText boxes for the user input. Both of them only accept a maximum number of chars. Now when I reach the "end" of the text box I need to move to the next one. My question is, is there any event, that handles this Or I have to extend the text box and create a new Event Thanks in advance for any help. Regards Luis de Sousa Hi Luis, I assume you are usng .NET 2.0 WinForms. There is no such event which triggers when you reach. You can simply create a class inheriting the Windows.Forms.TextBox like this. pub ...Show All
Visual Studio Express Editions how to add flash content
hi can anybody tell me how to add a flash content to a visualbasic form Application.StartupPath returns the path to the folder that contains the current application's executable, so assuming that your SWF is in the same folder as your EXE: AxShockwaveFlash1.Movie = IO.Path.Combine(Application.StartupPath, "intro finale.swf") ...Show All
Visual C# Accessing Body tag
Hi, I need to access the <BODY> tag in my aspx page. I've tried doing this <BODY id="pageBody" runat="server" > but this doesn't add pageBody reference in the code behind . I need a way to add javascript "onload" attribute as it is normally done for other html objects like buttons and checkboxes. any ideas Furqan Give this a try: <BODY id="pageBody" runat="server" > Then in you code behind: System.Web.UI.HtmlControls.HtmlGenericControl oBodyTag = (HtmlGenericControl)Page.FindControl("pageBody"); oBodyTag.Attributes.Add("onload", "alert('hello world');"); ...Show All
Visual C# A problem about binary file source safe versioning
Does anyone of you ever try to check in your binary files for versioning We have this habit since the day when we work on VB projects. Since COM versioning is very important, we have very clear habit to keep different versions of the DLLs. Now in .net, with VS.NET 2003, we realize there is a very strange behaviour which prevents binary files checking from working properly. Lets say, we have 3 projects: ClassLibrary1, ClassLibrary2, WindowsApplication1 -->: reference ClassLibrary2 --> ClassLibrary1 WindowsApplication1 --> ClassLibrary1, ClassLibrary2 When I have checked out all WindowsApplication1 binary files, while leaving ClassLib ...Show All
Visual C++ Returning a string from unmanaged to managed code
Lets say you have a unmanaged function with the following prototype: bool f1(char *szOutString); This function returns a string of a defined max length. Now I want to build a managed function (c++/cli) which calls it. I remember from from Managed Extentions that I could use StringBuilder class for this purpose. However this does not work: StringBuilder ^str; f1(str); How is this achived Thanks in advance. I did it the same way. Other folks on the forum might be able to suggest other ways if possible. Thanks, Ayman Shoukry VC++ Team ...Show All
Visual Studio 2008 (Pre-release) Remove Window Border Completely
Is there anyway to completely remove a Window object's border If I set the Window.WindowStyle = WindowStyle.None, there is still a "border" around the window which is rather annoying. Thank you, Jaco I am having another issue with all this. I am making a custom-draw window in which I manage all the border drawing and window resizing, etc. So to achieve removing the "standard" window border, I set WindowStyle.None. This of course leaves a bevelled border in XP. I t seems that setting either AllowsTransparency=True or ResizeMode=NoResize will get rid of that bevelled border. ...Show All
.NET Development Submit Button code
I hve got myself a database, a form and a datagrid. I am trying to put code in my 'submit button' to complete: -The information on my form to go into the database - in the correct coloums -Send me a email to notify me that a form has been submied. -A page appears for the user as confirmation of the form has been submitted. I believe i may have some code that will be able to do the last 2 items when the submit button is sent.... but it is in php which i wonder if anyone can help me transform it into asp mail ($to, $subject, $body); optional you can have mail ($to, $subject, $body, $from); or mail ($to, $subject, $body, 'From: person@addre ...Show All
SQL Server Converting an Access database
Converting an Access database I uninstalled sqlserver2005 express and reinstalled sqlserver2005 ctp. Now, everything is in order. I've just searched books online for convert(conversion) and import(imports, importing). I see no instructions on how to convert my access 2003 database into an sqlserver database. It was easy enough in sqlserver 2000. However, I've uninstalled that. Is there a way of coverting in sqlserver 2005 I'm in big trouble if I can't. A related question. I'm very familiar with Access 2003. So I'll continue to develop the database structure in Access. Can I import the incr ...Show All
Visual Studio Team System ASP.Net 1.x Performance Analyses Tool
Hi All, Is there any tool available for asp.net 1.x like we have performance analyser in asp.net 2.0. Right Ian, I m referring to the same tool that is available in developer edition of VSTS and i know it can not be used in 1.x solutions. but my concern is there any third party or microsoft tool available that can be used with 1.x solutions for performance profiling ...Show All
SQL Server Replication vs. DTS
I am unsure whether to use a DTS package or Replication for the following: We have four SQL Server databases on four separate servers with the same data schema, one for the north east, south west, mid atlantic, and mid west. We also have one "global" database on a separate server. First, and only this one time, we need to copy data from the four regional databases to the global database. Then, at least once a day we will need to copy changed and new data from the four regional SQL databases to the global database. I have researched DTS and Replication and am unsure how to proceed. DTS doesn't seem to have a mechanism to copy ...Show All
.NET Development how to open ur custom file format in ur application
hi, i am developing an application in C#.For saving the state of an application i am using a custom file format.Now suppose a user using the application want to save the state of the application he can save it as "savedstate.abcd" where .abcd is the new extension to be supported by my application.Now when he double clicks on this saved file named "savedstate.abcd" my application will open up and the objects being used in my application will be instantiated with the saved data. i have done addition in the registry so than when a user double clicks file with my extension ".abcd" the application will start.but how do i read the applica ...Show All
Smart Device Development Licensing or copy protection howto?
Which mechanism exist for licensing on a pocket PC And how can I protect PPC software from copying We will start a commercial development of a PPC Tool. Thanks for your comments Kurt. We currently do not have a standardized mechanism for doing licensing schemes or copy protection. However, software distribution sites such as handango.com and pocketgear.com support a specific set of registration models and provide developers with details on each. ...Show All
Windows Forms Multiple forms
Hello all, To make this short... I am trying to use 2 forms. the second form only displays a datagrid from a datatable object stored in Globals. I want the user to be able to click ok or cancel well the cancel part is cake. When a user clicks ok I want to close the second form go back to the first form and I don't care were I update the data(or rather send it to the database) but when the first form gets focuse back because I use ShowDialog(). I want do disable a couple buttons and show the user all is well. Thank you now for replys later stwenter You ca ...Show All
Visual Studio Express Editions Project Location is not trusted
Hi All, I have Visual C# 2005 express edition installed on my computer and I'm having trouble with non trusted projects. All my projects are saved in the default location (my documents\visual studio 2005) yet, if I save a solution I received via email in that folder and try to open it in Visual C#, it complains that the location is not trusted. All other projects created within Visual C# 2005 work fine. I looked at the sln and csproj files but couldn't find anything that would justify the different behaviors. Any clue what's going on Any help greatly appreciated. Thanks. A recent (within la ...Show All
