mattis's Q&A profile
Visual C++ c++/cli array in value struct
I need to use a "value struct" for an application I've written but I now need to add a character array and a byte array into this structure. I don't know how to do this because I can't set the size of the array. I'm not able to use the ref struct because there is too much code already in place using the data as a value type. Please help! First, I would like to thank you for all of the information you have posted on your blog and on codeproject. Truley a great help for me as I transitioned from managed c++ to C++/CLI. Ok, I have someone expecting this format // typedef struct tag_NVIDconfi ...Show All
Visual C# Syntax Error in Update Statement
Dear All, I had encountered Syntax Error in Update Statement when I execute the following code. private void UpdateNewPwd( string EmpID, string NewPwd) { string strUpdate = "Update Users SET Password = '" + NewPwd + "'" + " where EmployeeID = '" + EmpID + "'" ; string connectionString1 = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + System.Windows.Forms. Application .StartupPath + "\\Local_Database\\DryEtch.mdb;User Id=admin;Password=;" ; OleDbDataAdapter dbAdapter = new OleDbDataAdapter (); OleDbCommand dbCom = new O ...Show All
SQL Server Numeric column names are pre-pended with "ID" string
Hello I'm using SQL Server 2005 Business Intelligence Studio and have noticed an odd behavior with column names. Specifically, if you query for a table that returns a numeric column name it is pre-pended with "ID". For example, if my databaseReporting Services will show these fields in the "Report Datasets" as follows: For example, "Select identity as '1' from group_header, 1" shows a column name of "ID1" instead of "1". Has anyone else run into this If so, is there a way to remove the "ID". Jay Fields names in RDL must be CLS ...Show All
.NET Development axWebBrowser control accepting security certificates problem
Hi I am using a axWebBrowser control to access HTML elements (from a https site) via a document model. I’ve got my head around the DOM side of things and I’m very happy with the way the elements are being presented to me. The problem is that I need to manually accept the security certificate via the security alert dialog. Can I do this programmally Thanks in advance. If you have just one certificate, you can select form the internet options. Security - Custom Level – and look for “ Don't prompt for client certificate” and change it to enable ...Show All
Visual Studio How to get the summary activity of visual sourcesafe?
Hi again I have a question, i wonder how can i get the number of files that stores in Visual Sourcesafe database Let be specific, question like:- - how to get the number of files that already check in, -number of files that is check out, -number of users, -whose currently login in, -how long the user login in, the duration -files been created If can, how we can produce a log file that tells all activity running using the Visual Sourcesafe..Is there any software that i can use or any add-ons Currently im using Visual Source version 6.0, and my database is located in the fileserver. Thank you Regardz p/s please reply asap, someone help m ...Show All
Microsoft ISV Community Center Forums Can Microsoft Access be Hosted
I have been seeking out hosting services to run Offices applications and a Access database i developed. I have received some really lame answers like the following "MS Access is a file based database and is not designed for sharing, (i.e. If someone opens the database, no one else can open it). In addition, MS Access file cannot be opened remotely (over the Internet). We support MS Access for web applications. It is not possible for us to host your access database and allow your desktop client to access it. Your best bet is to hire a programmer to create a web application that connects to the database." My Resp ...Show All
Visual C# Progress Bar
I have a progress bar whereby it should progress for every graph that is loaded.But upon executing the program, the progress bar will immediately hit 100 % even the graph had not been fully loaded. But my code is written such that the PerformStep is placed after the loading of graph. Please advice. Thanks for ( int i = 1; i <= load_graph; i++) { parent_form.flowLayoutPanel2.Controls.Add( new TrendChart (a , root_source)); parent_form.progressBar1.TabIndex = 0; parent_form.progressBar1.Maximum = 10000; parent_form.progressBar1.Minimum = 1; parent_form.progressBar1.Step = 2500; parent_form.progressBar1.Pe ...Show All
Visual Studio Express Editions how to set project to release configuration
HI, i am creating a windows form application project. I don't know how to set the project to release even read through msdn. anyone know it please provide me the step. thanks. Look under the BUILD Menu Item at the top of the IDE and at the bottom you will see PUBLISH. As far as I know there is no Option in VB2005 to Build a Debug or Release Version like previous versions. I think the change is made at the time you Publish your application. james aka:Trucker ...Show All
SQL Server Nested CASE statements Problem
I can't get the syntax right on my nested CASE statements nor have I found anything on the web pertaining to nested SQL CASE statements: SELECT rm.rmsacctnum AS [Rms Acct Num], SUM(rf.rmstranamt) AS [TranSum], SUM(rf10.rmstranamt10) AS [10Sum], CASE WHEN SUM(rf.rmstranamt) > SUM(rf10.rmstranamt10) Then CASE WHEN SUM(rf.rmstranamt) < 0 AND SUM(rf10.rmstranamt10) < 0 Then &nb ...Show All
Visual Studio Unintentional structure change at runtime.
Hello, I created a report with CR Version 10, which is using a printer specific font. I print the report from CR10 without any problem. Now I implemented the report to my VS2003 C# application. I’m able to print the report, but there are some things changed. The font is not anymore the font I selected with CR10. Everything is drawn to the left margin. I used the same printer on the same workstation as I used with CR10. I’m happy for every tip or solution, thank you in advance! JakobH ...Show All
.NET Development Microsoft ADO .net 2.0 Provider for Oracle
My question is: Is there one available I can't find one at all!!! Also, what other requirements are there Oracle client v 9+ I expect. I reckon the ODP.NET (Oracle Database Provider for .NET) is actually refer to all those classes that design and optimize for Oracle database access (e.g. OracleConnection ...etc ) You could find them under System.Data.OracleClient namespace. (However, i am not familiar with Oracle tho :p) ODP.NET can be use with Oracle8, Oracle8 i , or Oracle9 i database (found it on Oracle.com) hope it helps, Ivan Wong ...Show All
SQL Server Problems with connecting to SQL Server 2005 Express
Here's my code so far: [source]using System; using System.Collections.Generic; using System.Text; using System.Data.SqlClient; namespace Database { class Database_Main { SqlConnectionString ConnStr = new SqlConnectionString(); public Database_Main() { SqlConnection Connection = new SqlConnection(@"user id=Afr0;password=prins;server=(local);Trusted_Connection=yes;database=Nimdalin;"); Connection.Open(); } } } [/source] The message I get says that: "An error has occured while establishing a connection to the server." What could be the possible reasons for this Is there any way to configure ...Show All
Windows Forms How can I line up labels with textboxes in a FlowLayoutPanel?
You know how in the VS2005 you have those grid snap lines, which let you align labels with textboxes in the middle (the pink line) Well flow panel still dumps everything aligned at the topmost corner for each component, and all the labels looks wierd. I could adjust the top padding on each control, but it's a pain, is there an easier way This question is better suited for the Windows Forms forum. Please reserve the C# forum for questions specifically related to C# itself. I'm moving this post to the Windows Forms forum. Michael Taylor - 6/9/06 ...Show All
SQL Server Reporting Services Login Error
An error has occurred during report processing. (rsProcessingAborted) Get Online Help Logon failed. (rsLogonFailed) Get Online Help The parameter is incorrect. I can view my report inside of visual studio 2003 no problem, but when I navigate to the http://servername/Reports/Pages/Folder.aspx and click on my report to load inside of IE I get the error. I have serached all over but not able to get a correct answer. Any help woould be greatly appreciated. Thanks It is definitely a data souce error, although it is a strange message. What type of credentials are used to connect to the data source ...Show All
SQL Server Where can I download SQLServer 2005 Express SP1
I have followed the link to download SP1 of SQLServer 2005 Express Edition, but, on that page nowhere it is mentioned that downloads offered are of SP1, it simply says that SQLServer 2005 Express edition. What is the correct link and am I really on the correct page of SP1 I guess you were right, see the instructions to update your SQL Server Express installation under point 3.1 on this link HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
