John Dunn's Q&A profile
Visual Studio Express Editions incremental linking is impossible, help please
hi, I have been struggling with this problem for over 2 weeks, and i was told in one of the forums to try here. so here is my problem: I installed visual c++ 2005 express edition, and it works fine except the fact that it seems it has not incremental linking, it seems that for some reasons, it can't access the .obj files and update them (when I check their modification date, it shows the one from the last REbuild). I even disabled Norton antivirus and Zonealarm, thinking that they might have something to do. I have no clue what to do, and the size of my project makes impossible for me to live with this problem anymore. I can't wait for the whole source to REbulild after each modification !!! please, do you have any suggestions. I m ...Show All
Visual Studio 2008 (Pre-release) Relationship between Viewport3D and GeometryModel3D?
I use Viewport3D in my WPF application. I use VisualBrush for the Material of the Model3D.I want the appearance of the 3D model the same size as my actual window(which the VisualBrush is from), and I want to control the size of the appearance at runtime time according to my actual window. I don't know how to transform the Camera(PerspectiveCamera), or the GeometryModel3D, or the Viewport to let the perspective on the ViewPort3D to be the same size as my actual window And what is the relationship between the Viewport3D and the GeometryModel3D in it Thank you very much, Is the ViewPort3D is exactly what we see on the screen or there is another transfrom between ViewPort3D to Screen I don't ...Show All
Software Development for Windows Vista Changing the Sidebar
Changing the Sidebar Added 2/6/07 By default, the sidebar can take up a unwanted room on the desktop. You also can't put icons on the space it uses. If you want to retain the ability to display the sidebar gadgets but also want full use of the desktop, you can detach individual gadgets. Right-click the gadget you want to detach Click Detach from Sidebar Move the gadget wherever you want on the desktop Right click on the sidebar Click on Close Sidebar There will now be an icon in the system tray for the sidebar if you want to get it back You can also get more gadgets on-line ...Show All
Visual C# Delegate[] array to XML file
Hi Guys, I posted before regarding an array of delegates. I have one more question relating to this. If I have my Delegate[] array full of delegates and i wanted to store the sequence or order of delegates in an XML file so that they could be reloaded at a later time, how could I achieve this Would I just create pseudo names for each delegate name and store the names in an xml file How would i then go about recreating this delegates array from the XML values Thanks Martin I have a sort of project file that holds of all my application data. When this XML file is loaded into my application it creates various objects and fields based on this XML data. I can do this easily for s ...Show All
Windows Forms How to move keyboard cursor
I have 1000 text in a textBox, initially cursor is on 2nd char of 1st line, I want when i click on a button the cursor move to end of text in textBox, how to do that using C# 2005 Thanks textBox1.SelectionStart = textBox1.Text.Length; textBox1.Focus(); ...Show All
Visual Basic When i put this code on a function, it doesn't work anymore !
Hello, Can anyone help me with It just drives me crazy ! I have the following code : When I leave it on the same Sub, it works, I wanted to create a Function for not retyping all this everytime, But when I put that on a Function, it doesn't work anymore ! This works : Private _yPosition As Integer Private TextsArray(100) As String Shared IndexToRead As Integer Private Sub Test() If _yPosition < - Me .Height Then If TextsArray(IndexToRead) <> Nothing Then MyText() = TextsArray(IndexToRead) IndexToRead += 1 Else MainTimer.Enabled = False Exit Sub End If _yPosition = Me .Height End If End Sub ...Show All
.NET Development Difference between two dates
Hi All I have two dates columns in 2 different tables table1 regid regdate table2 regid logindate how to take the difference between these two dates,and find the average, in a stored procedure Thanks Did you try something like Select AVG(DateDiff(dd, logindate, regdate)) FROM Table1 INNER JOIN Table2 On Table1.regid = Table2.regid ...Show All
Windows Live Developer Forums Error Message while in Video Call
Ok, I will try this since I have yet to get an email back from MSN windows live messenger. For several months I have been getting this error message while in a video call: "Windows Live Messenger has encountered a problem and needs to close. We are sorry for the inconvenience." then in that same box it says A "if you are in the middle of something, the information you were working on might be lost. PLEASE TELL MICROSOFT ABOUT THIS PROBLEM! I get the problem and not my sister who is who I am on video call with. I freeze with that message and she can still hear me and see me, but I am completely frozen on my screen! I did everything I was told to do, but it still is happening. I have sinced emailed them with the answers ...Show All
SQL Server MDX - Case ?
Hi, Im using AS 2005 and I want to display a measure depending on the level of the hierarchy My hierarchy is as following : Level A Level B Level C Level D if the user selects Level A, I display the measure Sum_LevelA if the user selects Level B, I display the measure Sum_LevelB I suppose I should use MDX to do this (kind of CASE ) but im a newbie at MDX. Thanks in advance for your help. JL Hi, I am looking for the MDX syntax to deal with default cases. ---------------------------------------------------------- CREATE MySum; SCOPE (MySum); Dim.LevelA.LevelA.MEMBERS = Sum_LevelA; Dim.LevelB.LevelB.MEMBERS = Sum_LevelB; ... WHEN OTHERS.MEMBERS = S ...Show All
Visual Studio Express Editions Help with crystal reports
Please help I am new to crystal report.I am trying to output data from a sql server database using crystal report.What I want is like as follows 1) I want the report to be in this format: User Id Browsing Messaging SAP Desktop Elton 250 180 450 500 This is how my code looks like Private Sub FrmReport_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Dim objConn As SqlConnection Dim daT1,dat2 As SqlDataAdapter Dim DataSet1 As DataSet Dim strSQL As String objConn = New SqlConnection(connstring) objConn.Open() strSQL = "SELECT UserCostAmountCostAmount,ResponsibleUserContactName FROM [asmCostCenterCostView]&qu ...Show All
Windows Forms Problem with SQL statement
I'm trying to select from a database (MS Access) with the following SQL statement: SELECT * FROM Students WHERE (Students.Options LIKE '*1*' OR Students.Options LIKE '*2*') The Options field is simply a text field containing a comma separated list of numbers and I want to pick only the rows where Options contains specific numbers. I've tried this in Access and it works just fine but when I use it in VB.NET the adapter doesn't return any rows. All of my other SQL statements work just fine, it's only the one that contais the LIKE keyword that fails. Are there any known problems with the OLEDB connection and adapter in VB.NET (using VB Express 2005), for example with the LIKE keyword example ------------- ...Show All
SQL Server Managed Stored Procedures (GetClusterDiscrimination) Crash - any suggestions?
I profiled the following on my Analysis server: CALL System.Microsoft.AnalysisServices.System.DataMining.Clustering.GetClusterDiscrimination('Page Aggregate By Month2','001','010',0.0005,true) Internal error: An unexpected exception occured. Execution of the managed stored procedure GetClusterDiscrimination failed with the following error: Exception has been thrown by the target of an invocation.Object reference not set to an instance of an object.. Any ideas --mike Hello, Could you please send us some information about your mining model The columns together with their data types and content types would be helpful. Also, which version of SQL server are you using Do you have Service Pack 1 installed ...Show All
SQL Server Database security on a Local Network
This is regarding general protection of a database hosted on a network. I am developing a database application for my college library using VB.NET, that will reside on a network. For some reasons, I did not want to hardcode the Database location in the application. Instead, when a user logs in, he can choose the database location using a folder browser control, if the location has changed. Now, I realize that for this, I have to put the database in a shared folder, which makes it quite vulnerable. Having pondered over the problem for sometime, a solution that comes to my mind is to place a Text file in the same shared folder that always contains the correct path of the database. When a user chooses that folder, I will read the actual path ...Show All
Visual Studio 2008 (Pre-release) NetMSMQBinding: what is UseActiveDirectory good for ?
I don't see what purpose the UseActiveDirectory flag has in the NetMSMQBinding config. Do I still have to format the endpoint address using a machine name if I use this Are other more flexible queue addressing modes available when this option is TRUE For example, can I simply pass the format name guid in the address, rather than machine name Or the queue label Some features of the net.msmq binding require that MSMQ resolves addresses through the ActiveDirectory (as opposed to using direct format names). One example is message encryption with MSMQ transport security - this works only if ActiveDirectory is involved. This is feature (or limitation) inherited from the MSMQ architecture. To answer your q ...Show All
.NET Development writing a Telnet client with VB. NET
Hi, I am trying to write a simple telnet client using VB.NET with Visual Studio 2005. I am using System.Net.Sockets. But I cant make it work yet. What I need is: To automate some tasks on UNIX server. To achieve this, I need to login to unix (from within my app.) via telnet, and run some commands. T hats all. Anyone can help me with this Thanks Fede. Guys, I don't know what is going on here. I was in the same situation you were all in until I found that component. I gave it a shot and it just worked. I have no clue why it worked for me and not for you all. Now, there are other components out there can can script telnet sessions; but of course they are not free. Good luck you all. ...Show All
