Gmoney1404's Q&A profile
Windows Forms I can't figure this "Enter" thing out! Please help.
Ok, so I am creating a web browser. Everything is fine and dandy, except I wanted the capability of the user pressing "Enter" after they type in the URL instead of having to go click on "GO" button. Thats nice... So I go to the properties of the combobox, select "Keydown" and create a new keydown event. In that event, I write: webBrowser1.navigate(combobox1.Text); I run the program... and It works alright! However, it automaticly tries to connect the the URL before I even get it typed... So by the time I type in www.yahoo.com , it's already navigated there without me pressing the enter key. This is a neat little thing, but I don't want it to work that way. Is there some kind of Break I can use to stop the URL in the U ...Show All
Visual C++ disable "->" that represent tabs
Hi all, I have accidentally enable a feature that convert all Tabs with " ->" and all space with a "." And my text editor is now full of arrows and dots, surrounding my codes. Can anyone tell me how to turn that off, as my code looks very messy with all those '.' and "->" stuff lyndon ...Show All
.NET Development Reading an MS Word file ?
Is there any component in ASP that we can read an Ms Word file & display it on web page as it look like in MS Word. Or Can It read a PDF file (Detail: I want to put my CV on my website, but not like a page content, My page read this file & display it & if I want to make changing in my CV, i dont need to change page content but only Word file) ...Show All
.NET Development Is there any problem at Windows Installer 3.1 Fix
Hi... For these 2 weeks i have got trouble with windows installer. Whenever i try to prepare a web deployment and wheneever execute the created msi.exe i always het memory errors. I thought there may be problem at the installation of framework and VS.NET 2003. I have uninstalled it. Whenever i tried to install VS.NET 2003 i again got windows installer msi.exe error about the memery error.... The instruction at "0x00eb5d78" referenced memory at "0x00eb5d78". The memory could not be "written" I habe server 2003 with SP1 and the last fixes of the security updates. I have downloaded last verison of windows installer and it's fixes from http://blogs.msdn.com//windows_installer_team/archive/2 ...Show All
Windows Forms Binding to a Business Logic Layer
Hi, The question is more for designers and architects. The question is about working with data, specifically about Binding to a Business Logic Layer. With introduction of typed datasets in .net 1.0 and especially in .net 2.0 I started to ask myself - isthat really necessary to create a class that is a mapping for a db table. I will explain what I mean. Take for example database pubs , table authors. With basically one click VS2005 creates for you a typed dataset, let's call it authorsDataSet , which incapsulates a complete object model of authorsDataTable , authorsDataRow and even multiple tables with their relationships. Notice that authorsDataRow IS an complete object model of an author. Besides, there is a authorsTableAdapte ...Show All
Visual C++ CRichEditCtrl Problem
Hi, This is done in VC++ MFC I have created a vector vector<CRichEditCtrl*>RichEditBox; CRichEditCtrl *r1 = new CRichEditCtrl; r1->Create(WS_CHILD|WS_VISIBLE|ES_AUTOVSCROLL, CRect(x1,y1,x2,y2), p, 1); r1->SetEventMask(ENM_CHANGE | ENM_SELCHANGE ); RichEditBox.push_back(r1); With the above code I get n cricheditboxes on a window . How do I navigate within these boxes using Up Down Arrow Keys Pritha Pritha, as I specified in this thread , this question is off-topic. Please use the newsgroup linked in that thread for UI questions such as yours and reserve this forum for questions on the C++ language itself. Thanks, Brian ...Show All
SQL Server Web Service Task Timeout
A package contains a web service task which makes a call to a web service. This call may take some time to complete (maybe up to 5-10 minutes). In it's simplest form, my package is reporting a failure. Error message is "Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: The Web Service threw an error during method execution. The error is: The operation has timed out. I can find no way to set the timeout period of a SSIS web service task. Is this possible, or is it something which Microsoft is addressing Greg. Thanks Sabotta. I had forgotten about that, but when I checked the package it was set to 300 seconds - the maximum allowable. If you try to set it to more than 300 seconds you ...Show All
Visual Studio Anything special about items returned from custom tasks ?
I am using the MS Tigris XmlRead Task to read the list of Targets in a .target file. I cannot batch over the item retrurned from the task. The behavior is the same even if I read the value returned by the task into a Property and then create an Item. I would appreciate your help. The proj file <Project DefaultTargets="list" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Import Project="$(MSBuildExtensionsPath)\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets"/> <Target Name="list"> <XmlRead Prefix="n" Namespace="http://schemas.microsoft.com/developer/msbuild/2003" XPath="/n:Project/n:Target/@Name" XmlFileName="$(MSBuildProjectFile)"> <!-- I could read the Value property of the ...Show All
.NET Development RFID Reader Project
Hello, I'm currently working on a project which involves a serial port RFID Reader. I have connected the Reader to COM2 of my PC and i'm trying to get the signals from the RFID Tags. I'm using Visual C# and SerialPort class. The problem is that i can't read or write to the port. I even tried to write something to the port using port.Writeline("string") and then read it with Readline() but it seems that nothing is written and nothing can be read. When i set the RtsEnable to TRUE the BytesToRead property changed from 0 to 9 no matter what i did and still i couldn't read anything. I also wanted to ask you if you have any code samples to send me or if any of you has written a similar program that works. I need to fix t ...Show All
Windows Forms "DataGridView.Item" Problems
I am currently writing an application that reads information from three tables in a SQL 2000 database. I have set up the data connection in Visual Basic .NET 2005 and I have three DataGridViews on the form to display the information. From there, I want to go through each entry and pull out certain cells that match the right criteria and list that information in a treeview. It seems, though, that once I get an item greater than the maximum number for an integer, the program crashes. At the same time, though, if I change my procedure to use long variables, the statement throws an error due to mismatching data types. Any suggestions Thanks. ...Show All
Software Development for Windows Vista How are tokens w/o mandatory integrity SID treated?
I have a question related to Mandatory Integrity Control (MIC). Usually all user tokens contain an additional SID in the groups list, which is one of the MIC SIDs (S-1-64-x) denoting the integrity level. Tests under RC2 (Build 5744) with tokens missing the MIC SID don't show any special behaviour. A process running with an administrator's token w/o MIC SID seems to have all permissions which an administrator usually has. In terms of MIC the result looks like the token is treated as having "high" integrity (S-1-64-12288). The question is this: What happens in the kernel, if the token does not contain one of these MIC SIDs How is that token treated Does it automatically belong to one ...Show All
SQL Server Installing SQL Server 2005 on Windows VISTA ULTIMATE
Hi, Trying to install SQL Server 2005 on Windows VISTA Ultimate, received following error: - SQL Server Edition Operating System Compatibility (Warning) Messages SQL Server Edition Operating System Compatibility Some components of this edition of SQL Server are not supported on this operating system. For details, see 'Hardware and Software Requirements for Installing SQL Server 2005' in Microsoft SQL Server Books Online. Please help. I believe you can solve your problem by right clicking the Program on your Start Menu and selecting Start as Administrator. Even though you log in to Vista with an administrator account, it seems to run in a shell that imitates a non-administrator. That's why you receive al ...Show All
.NET Development Native Sybase ASA .NET data provider and VS2005
Hi All! I have Sybase ASA Net data provider installed, but VS doesn't support it. I can connect to Sybase server via ODBC, but I can't connect by native provider. Server Explorer - Data Connections doesn't contains Sybase driver in list of available data sources. Is this driver can be registered somewhere in VS to allow visual operation Thanks in advance, Alexander I believe that VS integration and driver support is different. Since you have the driver, it means that you can access the db with your app at runtime with this provider. For the Sybase db to be intergrated in VS, sybase or someone else would have to create a VS extension to provide that feature. You can look at the vs sdk documentation. Regards, ...Show All
Windows Live Developer Forums Adding my own custom 3D content
I wonder how i can add my own custom 3d stuff into the 3d-View of the map. You can clearly see this is the future of getting the most upto date information. Let anyone submit data - wiki style. High detailed imagry, 3D buildings, even correction to streets (we have a major road in Brisbane that is 50m off on every map) I don't think MS will have the capabilites to do this, there is intellectual property / licenses / legal issues for a large company. But there is definatly a need. We are promised in the future we will be able to add our own 3D objects in VE and purhaps a community site where you can submit your own building would be a great idea. John. ...Show All
Windows Forms Save from a Datagrid to .TXT
Can anyone help me to save information from my datagrid to a .TXT file. I am populating the datagrid with information from a SQL query that I already have set up. All I need to do is to save the information to a .txt file now. Thanks Hi,Lawrence007 I write the following code for you information using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; using System.IO; namespace WindowsApplication1 { public partial class Form8 : Form { & ...Show All
