KONJIRO's Q&A profile
Visual C++ Seek for files!!
Hi! I would like to know if there is a function that may help me seek files within a folder. The function may return the next filename of that returned last time or return all the filenames the folder consists or something else (it doesn't really matter) that would help me extract the file names that are in a folder and use these files later. Any link for reading about using a function is welcome. Thanks in advance. Take a look at this FAQ, http://www.codeguru.com/forum/showthread.php t=312461 ...Show All
Visual Studio Team System Importing schema causes full crash in CTP5 (but worked fine with CTP4)
I had just upgraded from CTP4 to CTP5 and am now having crashing problem (full crash, have to restart VS) trying to import a schema. It was not never a problem importing this same schema in CTP4. Any ideas Thanks Jamie, Thanks for that second update. I'd replicated that test and it worked. So the crash is do the fact that the database was on a remote server. I've also verifed this by creating a very simple database (on the same REMOTE server) with one table (schema below) and tried to import to VSTS. As expected, it crashed VSTS. SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO IF NOT EXISTS ( SELECT * FROM sys.objects WHERE object_id = OBJEC ...Show All
.NET Development Problem uninstalling assembly in GAC
Hi all... When I try to uninstall a component I created and placed in GAC, using any method (using .NET configuration TOOL, by choosing uninstall using Windows Explorer or using GACutil) I receive this error message: Assembly: VidaSecurity.Common, Version=1.0.1.0, Culture=neutral, PublicKeyToken=4521d44f885b6246, processorArchitecture=MSIL Unable to uninstall: assembly is required by one or more applications As far as I know, this assembly isn't used by any running component. It is used for some web sites, so I tried to uninstall it by first stopping web service, but without success. Any help to uninstall it would be greatly appreciated Thanks Jaime This is the whole message that appears when using gacutil : ...Show All
Visual Studio Express Editions To see or not to see?
Ok, the program is doing everything I want it to, so now I need to intergrate it in to my main program, what I want is, in a buttons click event, to have the Labels created and shown, click again and they are gone, I can do this part.(No, really I can) My question is, can the Labels be created in say, a Panel, Picturebox or Groupbox so that I can make Visible True or False as required I’ve gotcha a bit better then... yes, you can use that code within an event handler for an event from another control... what kind of event are you looking for Are you also wondering how you could add the controls generated there to your picturebox/groupbox/panel If so, simply change the Me.Controls.Add line to refer to ...Show All
SQL Server info about sql server 2005 everywere
Hi , I must to realize a database application for an Automation system consisting of a Industrial PC with Operative System microsoft windows embedded. 1° question : Is Microsoft sql server 2005 everywere compatible for Microsoft windows embedded (I ask this because in specific of its is not clear) 2° question : In the case that it's compatible, if I instal it in a industrial Pc can it to act by database server or necessity of a remote server Tanks Yes, SQL Everywhere can run on Windows XP Embedded (I think that is what you are asking). It can be used as a local database for your embedded application without ever synchronizing with a server, and it can also use two data synchronization technologies call ...Show All
Visual Studio Express Editions Memory / speed issues with loading text file into SQL express database
I put together a sub to stream a text file into a database using vb.net express and sql server express editions. The text file is about 1.5GB and consists of about 2 million rows which will be parsed into 122 columns. I setup the database with 123 columns, the last column being an autonumbered index. Each of the columns has a maxlength set to the width of the data in the text file, and I use that maxlength along with the mid function to parse the data. It all works fine, but I wanted to get some opinions as to the structure of the code to see if there's anything I could do to optimize it. It took about half an hour to load up 37,000 lines, which means I'd need to run it for a full day to get the file loaded. I also have 3 additional fil ...Show All
Windows Forms DataGrid Arbic Font ?????????????
When i retrive data from database which is saved in arbic font DataGrid show instead of arbic font what to do Another thread on the Arabic problem, have a look and hope it helps. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=915930&SiteID=1 ...Show All
Software Development for Windows Vista LAN Driver problem
Hi all. Finally yesterday finished downloaded Vista x64 Ultimate for my pc, it is build 5600 rc1. Upon getting into vista and being very impressed with what ive seen i started to install the drivers and such, now i couldnt install the drivers using vista so i set the compatibility for Windows XP SP2 and the drivers installed fine Unfortunately under the network area in vista it says unidentified network and the onboard lan cannot connect to my router. whenever i try to renew my ip address nothing happens and the private 169 address is given to the adaptor. Im using an Asrock 939Dual-SATA2 - This has a ULi M1695 chipset. Does anyone have an idea where a vista compatible driver is for this chipset Any help appreciated! ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA GSE Language restrictions
I've gone through the XNA GSE FAQ and I'm not sure I understand the decision in developing XNA GSE in a manner that doesn't allow it to integrate into Visual Studio languages other than the Express editions. Sure you can run C# Express alongside Standard, Pro and Team editions of Visual Studio, but I would suspect that a great many hobbyists (to which XNA GSE is targetted) have invested in at least Standard and even Pro editions. Won't these users be giving up extremely useful IDE features and coding tools because Express editions lack these features due to the nature of them being free products I honestly fail to see the logic in all this :) - Seef exal wrote: It doesn't happ ...Show All
SQL Server Remote access to sql server
Hi, I use a VS2005 application with a sql database. All is working well over a local network but I now want remote access to the system via the internet. Is this possible I have a fixed IP address & am wondering if I can just use the ip address as part of the connection string (And if so - how!) There are many details steps and security concerns if you want to enable SQL connection to the public internet. SQL server is definitely enabled for such. Can you be more specific If you only want to use IP address to connect to SQL, you can replase the servername in your connection string with the IP addresss. It should work if your IP connectivity is available to the general public internet. For nam ...Show All
Windows Forms Form with Skins
Hi !!! How made a form with skins like winamp I want made a form with a shape non rectangular, with bitmaps. I see that I made a form with formBorderStyle = None, in the Taskbar, I don't have icon of application. How resolve it Escuse my english, I'm french. Thanks. Welcome to the MSDN forums. It looks like this is your first visit here. Allow me to give some pointers on getting good answers. First off, you need to change your nick. I'm not sure what it means in French but it is quite explicit in English. If you want to be taken seriously, you need to avoid crude body part references. Secondly, you ask three big sweeping questions. You'll rarely find anybody that has time to answer them in detail. Gettin ...Show All
Smart Device Development VS2005 and WinCE4.2...?
Hello, I get a device with WinCE 4.2 installed and I want to adapt my program written for WinCE5.0 for this WinCE4.2 installed device. When I click Change Target Platform in the Project menu, I can not see Windows CE 4.2 in the combobox. How can I do this Thanks in advance. Yes, NETCF V2 SP1 adds runtime support for CE 4.2. That does not change VS in any way as NETCF is not VS. With SP1 you can run NETCF V2 applications on CE 4.2 which you’ve developed in VS 2005 using CE 5 as target. ...Show All
Visual Studio Urgent Help Needed: Customize and Extend Report Viewer
Is it possible to extend reportviewer control to have functionality like say "Dyanmic Help" where as soon as you mouseover the parameter text, it displays what the parameter means HOw would you do it otherwise(alternative way) Thanks, How can i show or hide for example the print icon or customize the select format drop down to show only export to excel for example ...Show All
Visual Studio Express Editions Apply a format to a datagrid in the load form event
I am loading a form that has a datagrid in it. In the load event for the form I have several datagrid formatting lines of code. Several work just fine but a few (dealing with row height and row header for example) do not update to the changes made in the code. I have realized that I can attach these lines of code to a button after the form loads and press the button and the formatting will take place. The formatting is taking place when the form loads too but then somewhere the formatting gets reset (like in the initializeComponent). I need some help understanding how to fix this problem. The wierd thing is if I load the form as a child form this problem happens but if I just "form.show()" all the formatting steps occur. Is th ...Show All
Windows Forms How to create Bitmap of a Web Browser Control?
Hi Guys! Im new to C#. How can I create a Bitmap of the Web Browser Control using the CreateGraphics Method Thanks! Matt I'm so sorry, That's true! To create a graphics from a bitmap we use the static FromImage( ) method in Graphics class Replace the code with this one : Bitmap b = new Bitmap(webBrowser1.ClientSize.Width, webBrowser1.ClientSize.Height); Graphics g = Graphics.FromImage(b); g.CopyFromScreen(webBrowser1.PointToScreen(webBrowser1.Location), new Point(0,0), CopyPixelOperation.SourceCopy); This should work! Hope it helped! ...Show All
