yanyee's Q&A profile
Visual Studio Express Editions commands
where do i go to learn about all the vb commands, as i read these posts i am learning about commands that m books dont tell me about. how can do somethhing if i dont know the commands. things like accept and so on thank dman, but what you sent did not help, even the library did not give me what i wanted. i want to go somwhere and see the meaning of the commands i choose. like append; accept; insert; ect with most other languages, you get a list of commands and a synopsis of what they do, is there such a place ...Show All
Visual Studio 2008 (Pre-release) Audit Trailing SQL Server DB
How to Use PropertyChanged or SubmitChages to Audit Trail the database. When ChangeProcessor.SubmitChages is called it does check for each object whether it is IsNew or IsDeleted or IsChanged. Is there a way to use this somehow to generate Audit trail object Thanks ...Show All
.NET Development Interop layer throws System Exception (cast) when accessing unmanaged COM code
I would appreciate help/comments on the following... I am trying to access a COM component written in Fujitsu NetCOBOL from C#. I have spent many hours (days...) reading the docs, trying various combinations, and looking at the samples but my attempts are failing miserably. The COM .dll is called "AVSCOMSVR" and the embedded TypeLib has been picked up and converted to an Interop Assembly by VS 2005. Here's a picture of the generated interfaces and Classes: http://homepages.ihug.co.nz/~dashwood/dashwood/AVSProject2.jpg I find this a little puzzling... VS2005 seems to have duplicated the interfaces, some above the Class entry and some subordinate to it, but that may be OK and just reflect my limited understandin ...Show All
Windows Search Technologies automatically mouse selection
Does anybody know how can I change the, very irritating to me, feature that desktop results are being automatically selected when you point the mouse over them It is very annoying to have selected a result and while you work on another window to loose your selected result just because the mouse happened to be elsewhere in the screen when you returned to the window of the windows desktop search. Thanks and regards, Christos D. Nanouris ...Show All
.NET Development Setting / Getting Table schema
All, I am importing data from one table to another in 2 separate databases. I am using 2 data adapters that are configured at runtime to connect to the correct databases. I am using untyped datasets for the data access and assembling the SQL's in the code. My problem was that after I had read in all the records into the source dataset I couldnt copy the data into the destination dataset, as the fields didnt exist yet. I am doing field by field copying of selected fields in a foreach loop. The way that I resolved the problem was to add a select command to the destination data adapter that executed the following sql "select * from <tablename> where 0=1". This propagates the correct schema for me in the destination datas ...Show All
Visual C# open/close oledb connection
I connect and query my access database and populate my datagridview using the code below. My question is if I have to explicitly open or close the connection, please can you show me how & where... DataSet ds = new DataSet(); OleDbDataAdapter da = new OleDbDataAdapter(); OleDbConnection con = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Application.StartupPath + @"\MyDb.mdb;User Id=admin;Password=;"); string strSQL = "SELECT * FROM Log"; OleDbCommand cmd = new OleDbCommand(strSQL, con); da.SelectCommand = cmd; da.Fill(ds); this.dataGridView1.DataSource = ds.Tables[0]; Thanks not at all. :-) when I did this and from what people said, you will find that i ...Show All
Visual Studio 2008 (Pre-release) Pasting XML as XElement
I have LINQ CTP (May 2006) installed and working fine. In watching the latest Lang.NET screencast by Anders Hejlsberg on Channel 9, he demonstrates pasting an XML document as an XElement from a document copied in the clipboard. The "Paste XML as XElement" menu item in the Edit menu doesn't show in my VS2005. Can someone let me know if I am doing something wrong or it will be available in a future LINQ CTP. Thanks On the VS Tools menu, click on the Add-in Manager and make sure that the "Paste XML as XElement" addin is present and loaded at startup. On the VS Customize menu, click on the Addins category. You should see the "Paste XML as XElement" addin (with a smiley fac ...Show All
.NET Development request help with DLL on database machine & thin Client application
Hello, Here is what I'm doing: 1. SQL Server 2005 database is created on machine using Transact-SQL (this includes dropping any previous files). This is created onto the Defaul instance (MSSQLSERVER). 2. a DLL (class library) is made in VB.NET using ADO.NET connection objects. The connection string looks like this: strConnection = "Data Source=.;Initial Catalog=" & dbName & ";Integrated Security=True" where "dbName" is "SQLdatabase1" 3. the Client application adds a Reference to this DLL and will run from the development machine. Here is the problem and the question: When I install the DLL onto the database machine, and I shut off the .MDF database on my developm ...Show All
Visual C++ ethernet programming
I want to write a program in Visual C++ to transfer data between a computers and microcontroller via 10/100 Ethernet RJ-45. What i need (libraries, or is there any help in MSDN.) What i figured out is that i need "winsock" for programming.(TCP client and TCP Server) Where should I start. thanks MSDN would be a nice place to start. There are several examples there, which should give you an impression of where to go and what to do. For a more comprehensive socket tutorial, you could turn to Beej. See http://beej.us/guide/bgnet/ . ...Show All
Visual Studio what are the steps to create vb.net setup file?
i programmed windows application using only visual studio.net 2005 and access database file its program for input and output data i need to know how to create vb.net setup file or the main steps to do that If you are using VS Std/Pro 2005 there is a setup & deployment project you add into your solution and this will create a setup for you, wish you will customize such as where to place your output files from your original project to the local computer, where to place shortcuts, conditional installation startup's and so on. http://msdn2.microsoft.com/en-us/library/ms227347.aspx ...Show All
.NET Development SEARCH PROBLEM
hello i am trying to put `search` to my form, but it doesnt work, for example when i write 'B' to text box, the B line must be shown automatically, when i write 'C' to text box, the C line must be shown automatically, ........ or when i write whole name to text box, i want see that line in my database or datagrid. THX Dim view As DataView = New DataView(Dscustomers1.Customers) view.Sort = "CustomerID" Dim i As Integer = view.Find("text1.text") If i > Dscustomers1.Customers.Rows.Count Or i < 0 Then MsgBox("Record Not found", MsgBoxStyle.Information, "Record Not Found") Else CM.Position = i Console.WriteLine(CM.Position) ...Show All
Visual Studio Team System Team System and Microsoft Project Resource Name Conflict
Hi When i create a project and assign Valid users to it, the default way the team system writes the name is the windows way (Last Name, First Name MiddleInitial). But when i open to manage tasks for this project in Microsft Project, the resource name are now split because of the comma delimiter in the name. How do we fix this This is a HUGE bug and needs to addressed ASAP. None of these are good work arounds. They work, but who knows what else they will affect. ...Show All
Visual Studio Express Editions How to stop users from inputing Text
Hey all, I am trying to keep users from entering more than 5 digits into a text box and I am hitting a dead end in what I should be looking for or doing. Currently, in my key_press event i have the following: Private Sub txtSequenceNumber_KeyPress( ByVal sender As Object , _ ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtSequenceNumber.KeyPress 'Validate input Select Case True Case IsNumeric(e.KeyChar) 'User has pressed a digit. Accept it Case e.KeyChar = ControlChars.Back 'User has pressed backspace. Accept it Case e.KeyChar = ControlChars.Cr 'User has pressed Enter. Transfer input to variable Sequence2 = Convert.ToInt32(txtSequenceNumber.Text) ...Show All
Visual Studio Error in installing MS J# Redisribuable Package 1.1
I could not uninstall my Visual Studio 2003 using Add/Remove programs tool, so I removed it as written in this article http://support.microsoft.com/kb/824642. Now when I tryed to install it again I got error that MS J# .NET Redistributable Package 1.1 cannet be installed, so I cannot continue installation. How can I remove J# .NET RP 1.1 completely and install my MSVS2003 Can you send me your logs. You might want to look at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=144857&SiteID=1 for some ideas on how to remove vs2003 including J#. Aaron ...Show All
Commerce Server Payment Gateway Pipeline Integration
Hi all, I am a beginner in CS 2007 doing my first CS 2007 project. We as a team are working to customise the CS 2007 Starter Site according to the business needs and to use it to launch as an ecommerce website. I have read the MSDN for pipeline and using the existing pipeline for payments provided in CS2007 Starter Site, it does not look viable to use it as it is for payments. Some blogs and discussions also redirect to the fact that one has to write their own pipeline for payments and integrate with their payment gateway service provider. Keeping in mind the deadline which has been given the 1st Dec 2006, we as a team don't think it would be possible. There couple of options that I have thought of Option 1 Removing the control ...Show All
