Bill Poole's Q&A profile
Visual Studio help with basic crystal report query
I am using this to connect to a database, run SQL query and view a report but not getting what i want.. I am sure that this is not the best way to do it but I am new to Crystal Reports.. can anyone tell me what's the best way to do it connection.DatabaseName = "TEL_DATA" ; connection.ServerName = "192.168.96.3" ; connection.UserID = "sa" ; connection.Password = "123456" ; IVReport.Load( "c:\\temp\\CrtRep.rpt" , OpenReportMethod .OpenReportByTempCopy); foreach (CrystalDecisions.CrystalReports.Engine. Table table in IVReport.Database.Tables) { // Cache the logon info block TableLogOnInfo logOnInfo = table.LogOnInfo; // Set the connection ...Show All
Visual Basic handling rdlc componentI want start Mobile phone programming. Can some tell me about
hi all can i access rldc's component using my code. actually i have a chart in rdlc file and i want to change it run time. is it possible.if yes pls send me code thank u I want start Mobile phone programming. Can some tell me about Operating sytem of mobile phone. Avalaible development tools. How we could setup of project that have to deploy on mobile phone ...Show All
Visual Basic what the different between VB2005 express edition and .net?
Hi, I didn't understand what the meaning of .net I saw that there is visual studio 2003 .net but I didn't saw visual studio 2005 .net So vb 2005 pro or express is .net too If someone can explain to me I be glad Regards, yaniv pinhas In shot .NET is a set of technologies that enable different applications and platforms to more seamlessly communicate and exchange data between them... rather than me writing a small book here to describe it in more detail I’d suggest taking a look at some of these articles online for more info to get you up to speed on the generalities of what .NET is: Basics of .NET Microsoft.NET .NET Frequently Asked Questions As ...Show All
SQL Server sp_spaceused
Hi everyone, I'd like to retrieve the results for SP_SPACEUSED. I've created a table with 7 columns, something like that: CREATE TABLE [dbo] . [ESPACIOUSADO] ( [DATABASE_NAME] VARCHAR ( 255 ) NULL, [DATABASE_SIZE] VARCHAR ( 120 ) NULL, [UNALLOCATED SPACE] VARCHAR ( 120 ) NULL, [RESERVED] VARCHAR ( 120 ) NULL, [DATA] VARCHAR ( 120 ) NULL, [INDEX_SIZE] VARCHAR ( 120 ) NULL, [UNUSED] VARCHAR ( 120 ) NULL, ) ON [PRIMARY] INSERT INTO ESPACIOUSADO ( [DATABASE_NAME] , [DATABASE_SIZE] , [UNALLOCATED SPACE] , [RESERVED] , [DATA] , [INDEX_SIZE] , [UNUSED] ) EXEC sp_spaceused But it doesn't works ...Show All
Windows Forms Dataset Partial Class - Binding
Hi Folks. I'm trying out the new table-adapter gizmo's and attempting to extend a dataset by adding a new property in a partial class. ************************************* Partial Public Class TipperRoundResults Partial Public Class stp_GetViewTipsDataTable Public ReadOnly Property SomeNewField() As String Get Return "Yipee!" End Get End Property End Class End Class *************************************** This seems to work fine, and when I compile it and view it in the class viewer the property exists. However I am having trouble binding to it in a GridView control via the ObjectDataSource. It doesn't appear in the list of 'Bound ...Show All
SQL Server error 18456 when trying to connect to 2005 using odbc
Hi all I am using Windows XP SP2 with a Sql server 2005 Express installation. I created a test db with a user called test, schema also test. I gave the permission connect, db_datareader and db_datawriter. I can now connect into this user using WinSQL. But if I want to connect using a application which is using ODBC, then I get the error: [SQLSTATE=28000 - [Microsoft][SQL Native][SQL Server]Login failed for user 'test'.[Native Error=18456]] Because I connect using ODBC, I think there must be the problem. But I have to connect with ODBC. There is no other possibility. any ideas Regards, Waff I found this out: The server collation is defined to: Latin1_General_CI_AS If I create a new login id in lowercase, then ODBC w ...Show All
Visual C++ VC++ 2005 redistributable
Hi, I'm trying to get an MFC application compiled with VC++ 2005 to run on a machine with VC++ 2005 express. There seems to be a problem with the manifest (which I don't fully understand despite reading the info on msdn). The original error in the event log when I tried to run it said Microsoft.VC80.CRT not installed so I installed the platform SDK and also copied over the atlmfc directory from the development to target machine. I also downloaded the VC++ 2005 redistributable and installed it. When I installed it, I didn't get any confirmation that the installation was successful, the installer appears to quit after displaying the progress bar. Is this the correct behaviour Now I no longer get any messages in the event log but when I try ...Show All
Visual Studio Express Editions Hex Calculations help Please
I think I have presented myself with a rather difficult challenge. I need to convert a hex value to Radix 24. I'm not sure if this these are the right terms but I think it's converting a Base16 to a Base24. If any one could maybe help me out I would be extremely grateful. I have searched the internet for a long time and was only able to find calculators. I do need this for VBEE that's why I'm asking here <br> Public Class Form1 Private Function ConvertTo24( ByVal Number As String ) As String ' Using Dave299's function modified to receive a base 10 ' number in string format Dim Array24() As String = { "0" , "1" , "2" , "3" , "4" , "5 ...Show All
.NET Development How i can start to programming messenger
Hellow i want to make chat program on internet as msn with c# how i can start with this and if there is website demonstrate this thanks You could have a look at Jabber , you will find the specification of a protocol there.. And the source of various implementations of servers and clients.... ...Show All
SQL Server Visual C++ 2005 (C++/CLI) - Newbie with ADO
Hi, I've been working for about 20 years now with databases on other platforms but am at my first step with ADO. I created an application which is drawing as requested different forms on screen using GDI+, eventually DirectX. Now I'm at the stage of saving several infos into a Database. For simplicity, I would like to use a database for which there is no need to install any other components. I thought of using Access Database but I realized that I'm unable to create it except from Microsoft Access which is not installed on my machine... When programming with Clarion (SoftVelocity), apart interfacing with Oracle, any other files (ex: TopSpeed files) could be designed from within application designer and then created from scratc ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Model Position Problem
I have this code that creates a model at the position of the mouse click but the model never shows up at that position. Maybe someone out there knows why the models seem to be offset. If I click in the top left corner of the screen, the model shows up in the center of the window. Here is the code: #region Using Statements using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Storage; using System.Collections; #endregion namespace Commander { /// <summary> /// This is the main type for your game /// </summary> ...Show All
Visual Studio 2008 (Pre-release) WPF Overview for Executives
An executive at my company expressed interest in WPF to me, but is not quite clear on what it provides over and above other UI platforms. If he knew what it is and can do, it would be easier for him to "sell WPF" to clients (i.e. provide me with the opportunity to work with WPF on the job!). Does anyone know of a good overview with images and/or videos which would help someone in that position gain a high-level appreciation for what WPF is all about I've looked around, but most of the things I've seen get too geeky and stray away from ways to justify including WPF in a new application's technology stack. Sorry for the broken link, here it is again: http://msdn.microsoft.com/msdnmag/issues/06/01/xmlpaperspecification/defa ...Show All
Visual Studio Configure Sandcastle to use local MSDN Documentation
Hi, will it be possible in the future to configure sandcastle to use the locally installed msdn library (for HxS help files) Our developmentmachines do not have internet access. thanks ralf Amy, The "Index" links between different Help2 (HxS) projects seem to work Ok (they have worked for a while now, I don't remember which CTP). I build multiple Help2 projects with cross references and these work, as well as the references to local MSDN. I never use the "msdn" option (for internet links to MSDN) since I want my help to be able to work on an un-networked machine. However, I also build Help1 (compiled help... *.chm files). These are nice for people who just need a quick lo ...Show All
Windows Forms How do I animate a button click from code?
This code preforms the button2 operation with button2.PerformClick(), but the user has no indication that button 2 has been clicked. How do I get button2 to go down and back up public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button2_Click(object sender, EventArgs e) { Console.WriteLine("button 2 was clicked."); } private void button1_Click(object sender, EventArgs e) { button2.PerformClick(); } } Thank you B14 The only way I know to do this would be to send the WM_LBUTTONDOWN and WM_LBUTTONUP messages to the button using the Win32 API. WM_LBUTTONDOWN WM_LBUTTONUP SendMessage ...Show All
Visual Studio 2008 (Pre-release) Soap Header in WCF
How to use Soap Headers in WCF The samples using MessageContractAttribute doesn't help to solve this. Thanks, Sangeetha Two main ways. Contractually specified headers are done using the MessageHeaderAttribute for a MessageContractAttribute-created service. Headers not part of the contract can be added to the headers properties of the OperationContext on either side. Outbound headers need to have a new OperationContextScope created in order to set the headers. Does this answer your question Note that this model is different than the ASMX one. There is no attribute that you put on top of an operation to specify adding a specific header with a default value. Instead, if you care about h ...Show All
