foto_robin's Q&A profile
Smart Device Development MinimizeBox = True And Form.Close, Diiferent behavior between CF1.0 and CF2.0
In CF 1.0 and WM2003, if MinimizeBox of a form was set to true and you were to call Form.Close, it would mimimize the application. With CF 2.0 and WM2005 however, the same scenario closes the form completely. Is this the expected/desired behavior If so, how can one programmatically minimize a form or send it to the back. Form.SendToBack does not seem to work if called from the contructor, form_load or form_activate. I'd like to know the answer to this please! Why has the behaviour changed I spent ages working out exactly how different true/false combinations worked for ControlBox & MinimizeBox when I first developed this ...Show All
Smart Device Development Get Persistent Storage Folder Path on Any PDA
Greetings, I have to know the Persistent Storage Folder Path on any pda, for example, on some devices this folder is called /IPSM (handheld dolphin 9500 ), on ipaq 4300 iPAQ FLASH STORAGE, so how can i do this with c# i try this: const int CSIDL_APPDATA = 0x001a; //this is the folder value but ** const int MAX_PATH = 256; StringBuilder buf = new StringBuilder(MAX_PATH); SHGetSpecialFolderPath(IntPtr.Zero,buf, CSIDL_APPDATA, false ); label2.Text = buf.ToString(); **that value its for any folder, so, My Documents had its own value, so when i try whit my documents value it works, but with 0x001a it doesn't, so,   ...Show All
.NET Development unable to connect to SQL server
hi everybody! I am just a beginner in asp.net. i am trying to connect to the sql server and getting an error: Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection. the code line for connection is : cn.ConnectionString = "Data Source=DENVER; Initial catalog=pubs; user id=sa ; Pwd=" right click on the server name - properties gives a message saying only sysadmin can access this feature. do i need to change something in code please help. I cannot login in QA using my own account. I don't know the password for sa account. mixed authentication is surely ...Show All
Visual Studio Tools for Office Error: 'null' is not null or an object
I've installed Visual Studio Tools for Microsoft Office 2003 on my computer. Whenever I add an Excel or Word project, the project opens and I get an error messagebox saying "null is not null or an object". When I look at the ThisWorkbook.vb file, I see a lot of squiggly lines indicating errors -- the required references are not added to the project. I have installed Visual Tools and Office Professional 2003 correctly with all the Net Programmability available on my hard drive. If anyone has experienced or worked around this problem, please let me know. Hi This sounds like a corrupt installation o ...Show All
Visual Studio Express Editions Express permanently free
hi, thx dan for this good news and thx microsoft, you don't know how much i'm happy to hear that best regards Microsoft Rocks. Its been taking great initiatives lately and this one by far will proove to be most useful. Atleast the guilt of a student of using a pirated software will not be there anymore :) Other stuff that microsoft is organizing like the latest "made in express" contest are really fun. IMHO Microsoft is really putting it together to recapture its reputation in the masses. So far, thumbs up to MS. :) ...Show All
Visual C# Using C# with MySQL Database how to do it?
I'm building application using C# and I want to save my data to MySQL Database.Tool that I use to create database are XAMPP. My problem is when when i trying to create DataSources in C# with new connection there is no .mdf file because I'm using MySQL Database the only file I have is db.opt. When I Test Connection the error is An attemp to attach an auto-named database for file c:\Program Files\xampp\mysql\data\mycpr\db.opt failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNCshare. Please show me how can I using MySQL Database with C#. The reason I'm using MySQL Database because the data t ...Show All
.NET Development Zip files in c#
Hi, Does anyone know of a way to zip files in c#. I tried using sharplib but the compression utility that comes with XP is not able to unzip the files. I need a format that can be unzipped by this and most other compression tools since I am not sure exactly what my users will be using to unzip the files. Thanks in advance stax0711 wrote: I wonder how hard it is to zip/unzip a folder using Sytem.IO.Compression. You can do it using the System.IO.Compression namespace BUT you have to add a "small" payload. The Framework compression classes handle the ZIP-age of the data stream but you have to h ...Show All
Microsoft ISV Community Center Forums Access Link Table with Outlook Problem
Hi, I'm having problem in create a link table that retrieve task from Outlook. It can create a table. But with nothing in it, except the %Complete data. The rest of field were empty. Does any have any idea about this Or, Would you mind to show me on how to create a link table in access that retrieve Task from Outlook , which including start date/end date Regards, David I don't think is possible as you can see from the above reply. What you need is to do coding on Microsoft VBA to load outlook tables. There is not shortcut in here, probably the shortage of Access / Outlook. ...Show All
SQL Server Privileges for Deploying Reports
Hi Everyone, I am having problems in deploying the reports. Here is what I am trying to do 1. I have a SQL Server 2000 Database. I am using Reporting Services 2005 to prepare a report which will interact with the 2000 Database. I am able to develop the report and preview the output from the BI studio. Now, I am trying to deploy the report on to the box where reporting services 2005 is installed. I am using windows authentication and my account has Sys admin and server admin privilleges on the SQL Server 2005 box. Within the http://servername/reports website my login has been assigned all privilleges. When I try to deploy the repo ...Show All
.NET Development Manage a dataset from web services
Hi, I have a dataset in a windows forms that retrieves data from a DataBase, and i want to update, delete and add rows. I have to use Web Services, how can I do it Thanks in advance. pass the dataset from win form to web method as an input parameter.Use the dataset to update the data in the database. Thanks Manish ...Show All
Windows Forms Modifying .application dynamically?
I am creating a configuration tool that does: 1. Creates a vdir under IIS. 2. Copy necessary files to this vdir. 3. Modify the .appliation files changing the deploymentProvider codebase to appropriate URL. The first 2 steps works fine as usual. But the third step fails. I successfully modified the codebase URL, but I got errors (see below). I guess once the .application files are create using VS 2005, the URL should not be changed. I wonder if there is any workaround This is an urgent task. ===================================== PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime &nb ...Show All
Windows Forms shared SQLconnection accross all forms.
okay. I decided that making a connection to the database eachtime each forms opens up is a bad idea.... bad idea in the sense its slow.... is possible to share a sqlconnection from form to from by using a class. like this ---------------------------------------------- Public Class myFormlib Public Shared my_con As SqlClient.SqlConnection End Class then in any form m ...Show All
SQL Server Reefernce dimensions
We have designed a schema which has some snowflakes which we implement as Reference dimensions in SSAS. This design seems to be the most logical given that we have a dimension table called Portfolio, which has a number of related dimensions such as Client, Employee and Product. Instead of direcrly joining all these tables to the Positions fact table, we set them up as Reference dimensions via Portfolio. I have read in a number of places (Lachev, Mundy) that there may be some issues with this approach, particularly on performance. Are there any metrics on what sort of performance degradation there may be Does it depend on the number of Re ...Show All
Smart Device Development unresolved external symbol __CxxFrameHandler3 or __ArrayUnwind
I am building my application targeted for the PocketPC platform. The app builds for Win32 fine. I get one linker error when I build now: LIBCMTD.lib(ehvccctr_ce.obj) : error LNK2005: "void __cdecl __ArrayUnwind(void *,unsigned int,int,void (__cdecl*)(void *))" ( __ArrayUnwind@@YAXPAXIHP6AX0@Z@Z) already defined in ccrtrtti.lib(ehvecdtr.obj) If I remove the LIBCMTD.lib by adding it to the ignore libraries, then I get this error: IconWin.obj : error LNK2001: unresolved external symbol __CxxFrameHandler3 (>280 times for different modules) plus one other error: tSkinnedWindow.obj : error LNK2019: unresolved ex ...Show All
Visual C# Retrive Dates between 2 dates
How can we retrive working dates (consider a have 5 working days) between 2 dates. we can input like getdates(startdate,enddate,noofworkingdays) and the output become 01/01/2006,02/01/2006 ,01/03/2006...... and so on . i have to do the same in c#. thanks alal The work week is relative to who you are and what culture you live in. Instead a more useful function might be to retrieve the DateTime values between a given date range excluding those with a specific day of the week. public Collection<DateTime> GetFilteredDateRange ( DateTime start, DateTime end, DayOfWeek[] excludeWeekdays ) { Collect ...Show All
