Rockstar_Rich's Q&A profile
Visual Studio Express Editions database proble ...!!!
i am trying to insert data in database through windows form this is my simple code for which i am trying to just enter in database..... when i insert the data in text boxes and click save, it saves itself and when i view on other form the data is present, but the problem is when i try to view the data in the database it doesnt exist..... can some one help me in this... this is my code:- i did not use transactions.... i do not know much about C#, i am new to it..... so please if u could help me in this problem if u want i may send u this project, thanks.... ...Show All
.NET Development Diff: .Net Framework 2.0 vs .Net Framework 3.0
Hi Where can i get the difference between .Net Framework 2.0 and .Net Framework 3.0 and new futures in 3.0. Thanks Gobi N an_gobi@hotmail.com A very good intro is at: http://msdn.microsoft.com/winfx/learning/netfx3faq/default.aspx Basically .net framework 3.0 = .net framework 2.0 + (wcf + wpf + wf + wcs) = .net framework 2.0 + winfx ...Show All
Visual Studio Express Editions How to use sendinput()?
I have been looking into simulating mouse movements and clicks for a while and sendinput seems to be the best choice. I can't find any examples of it working and I'm not experienced enough to work it out without any help so I was wondering if you guys could give me a hand. Could you just give me an example of a program moving and clicking the mouse Also, would this work outside the application Thanks in advance Matt. well im no good at this either but it seems to me as though using ur code, the mouse could keep moving "a" and the speed; change the sleep number. ...Show All
Windows Search Technologies When WDS 3.0 beta and 2007 Office Issue
I installed 2007 Office and received a message that I would need to install WDS 3.0 Beta. I installed it and rebooted, but all of the WDS Icons, etc. are gone. I no longer have anyway to access the search. There are no icons, no search bar, nothing, so I have no way to get at the search functionality. Hello dnr, It sounds like Office pointed you to the old WDS 3.0 beta preview. The WDS preview had no user interface with the exception of the serach box in Outlook 2007. I would suggest you uninstall your current version of WDS and install WDS 3.0 beta 2. This version comes with a full user interface. You can find the download here: http://www.microsoft.com/downloads/details.aspx familyid=0C1AE7C6-C548-4184-B575-7AB3913547D2&di ...Show All
SQL Server Degenerate dimension with non-numeric data in SSAS
Dear, I have the following problem/question: I have a fact table that contains for example all orderline data, with next to that all skey's to my dimension tables (product, customer, date, ...). Next to the measures that are included in my fact table, I was planning to also include a degenerate dimension that contains my ordernumber. So far no problem creating the star schema in a relational database. But trying to set this up in SSAS, the problem comes up that my order number is not a real number but a string (eg 'ABC12345') and as far as I know, the fact table in SSAS cannot contain any string data (or am I wrong ). Any suggestions Thank you in advance for your feedback! Kind regards, Jurgen ...Show All
.NET Development looping through recordsets using .net
Hi, I am trying to loop through 2 sql tables and update one table with data from the other if a condition is true. I know how to do this with vb but not with vb.net and can't find any help or examples. I have established a connection to the server to get the data but don't know how to loop through it and make the necessary updates. Can someone give an example Here is what my vb function looks like below, I would like to be able to transform this into vb.net and use in a script task in my sql package. Dim db As Database Dim rec1 As Recordset Dim rec2 As Recordset Dim test2 As Boolean Dim AppID As String Dim SortKey As String Set db = CurrentDb Set rec1 = db.OpenRecordset("qryScoresAll") Set rec2 = db.OpenRe ...Show All
SQL Server Stored procedure issue. a bridge too far for me
i have a query that i need to extend but just dont have the knowledge to do so, so hoping someone here could help me this is my current query:- SELECT ES.PatientID, DATEDIFF(day, EP.DateofBirth, GetDate())/365 AS Age, CASE EP.SexCode WHEN 'M' THEN 'MALE' ELSE 'FEMALE'END AS Gender, COUNT(H.HRDID)AS HRD, ES.FourRegularDrugs, isnull(ES.FourRegularDrugsNo,0) as NoOfDrugs, ES.ReadmissSixMonths, PCE.[Primary diagnosis] FROM tblStudyServices ES INNER JOIN tblPatient EP ON EP.PatientID = ES.PatientID INNER JOIN PAS.dbo.[PAS Patient Details] PP ON PP.[PAS key] = EP.PatientInternalNumber INNER JOIN PAS.dbo.[PAS Admission Details] [PAD] ON [PAD].[PAS key 1] = PP.[PAS key] INNER JOIN PAS.dbo.[PAS Consultant Episode] PCE ON PCE.[PAS key 1] = PA ...Show All
Visual Studio 2008 (Pre-release) White area in xps document
I want to export a element to xps document. The element was in an canvas.If i set the Canvas.Top=n,the xps document i exported will render a white area .The height of the white area was n . why I want to render the whole element without the white are... How to do thanks... code below: void VisualToXps(string fileName, Visual visual) { Package package = Package.Open(fileName, FileMode.Create); { XpsDocument doc = new XpsDocument(package); { XpsDocumentWriter writer = XpsDocument.CreateXpsDocumentWriter(doc); writer.Write(visual); } doc.Close(); } package.Close(); } xaml: <Canvas Width="300" Height="300" Backgr ...Show All
Internet Explorer Development IE7 RC1 unable to open new tabs
Hi As with the previous IE7 beta releases I'm still unable to open new tabs (via right-mouse click) with IE7 RC1. I've checked all the IE options as suggested in the beta release threads but still no luck. Is anyone else having this problem and are there any recommendations for actually getting this to work It's been very frustrating not being able to use this useful feature. Cheers I have not had the tabs working for a long time. I have Vista Beta and the tabs work there but in IE7, they don't work at all. I have just installed the new IE7 and it unloaded and removed all settings and then I reset to default in the Tools Internet options and the tabs still don't work. Really strange because t ...Show All
Windows Forms DataGridView wont show new entry..until i run it again
Guys..i'm new here...and new with VB2005..im having this problem..that my datagridview wont show the new entry(i have a reg page) until i rerun the program...can anyone please look it up..tnx very much..could really use some help.. Form1.vb: Imports System.Data.OleDb Public Class Form1 Private AccountsDataSource As New BindingSource(My.Application.DAL.dbDataService, "Accounts") Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.dg.DataSource = Me.AccountsDataSource End Sub Private Sub dg_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles dg.CellContentClick End Sub Private Sub Fill_Click(ByVal s ...Show All
Windows Live Developer Forums Any examples of new SDK's custom tile layer, but loading a mapcruncher created layer instead of the custom tile layer?
I didn't seem to find any references to how the mapcruncher layer object precisely "maps" to the new VETileSource object in the new SDK reference. It seems it would need to reference the layer's crunched xml file instead of the tile images directly, right Thanks for any help on this! and it looks like he went and moved the source location try this: tileSourceSpec.TileSource = " http://dev.live.com/virtualearth/sdk/layers/lidar/%4.png "; Works for me now. John. ...Show All
.NET Development Instance of DataSet
hi guys, how to make a DataSet instance because the red comment is a Exception that I don`t know to solve. This Exception appear when I hit F5 to execute, in compilation time appear"build suceed" this solution is a WinApp in Visual Studio 2005. thanks!!!! using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Data; using System.Data.OleDb; namespace waTr325 { public partial class frm325:Form { public frm325() { InitializeComponent(); } private DataSet dset; private OleDbDataAdapter oledb_da; ...Show All
Windows Live Developer Forums VEMap Constructor Problems
throw new VEException("VEMap:cstr","err_invalidelement",L_invalidelement_text); I keep getting an error which appears to reference the above statement in one of the map control files and would appreciate some help. A JavaScript file is being referenced from an ASPX page as follows: < script language ="javascript" type ="text/javascript" src ="http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js"></ script > < script language ="javascript" type = "text/javascript" src ="VE2f.js"></ script > A JavaScript method is then being called from the ASPX page. I can debug up to this statement, which seems straig ...Show All
Smart Device Development smartphone
How do i know what a smartphone is And is it possible to deploy a program through vb 2005 to smartphone via BlueTooth Mitch In this forum SmartPhone usually a device running Windows Mobile for SmartPhone. For more generic definitions you can ask the web . Yes, you can if SP is active synced via BT and RAPI is enabled on your particular SmartPhone. ...Show All
Audio and Video Development HD-DVD DONE!
32 Hours and Im ready to burn!!! Thanx a million Jeff you were the primer! Do I just burn my 2 folders to a DVD-9 as Data or is there a trick to get the Toshiba HD-XA1 to play that way I haven't fully tested this, but you should be able to use Nero to make a DVD-ROM with UDF 2.50 and place the ADV_OBJ and HVDVD_TS folders in it. In theory, it might work. I hope to have time tomorrow to try it out. ...Show All
