RTS4ME's Q&A profile
Visual C++ Specific MFC functions wont load / unresolved
Hello again, i have a running thread here but that didnt descibe the problem the right way so im restarting. im using some mfc in my C++ app for Pocket PC 2003(ARMv4) Compiling of the project is no problem but when i build i get loads of link errors... Mainly it cant find: CListCtrl::InsertColumn CListCtrl::SetItemText CDC::ExtTextOutW CWnd::Create CWnd::CreateEx CFileException::CFileException and some other functions are also missing but your getting the point. I have Use of MFC as dynamic so it is included, and what i find even more confusing: Found "public: int __cdecl CListCtrl::Create the uafxcwd.lib holds the ClistCtrl, and when I open the lib, it also contains InsertColumn and SelItemText, but some ...Show All
SQL Server SessionTrace during XMLA execution?
Hi all! I wrote a command line tool that processes a SSAS cube/dimension. At the moment the tool starts processing similar to: using Microsoft.AnalysisServices; olapsrv = new Server(); olapsrv.Connect(@"SERVER/DATABASE"); Database mydb = olapsrv.Databases["NAME"]; Cube mycube = mydb.Cubes.FindByName("CUBENAME"); mycube.Process(ProcessType.ProcessFull); it is possible to trace the server output with: olapsrv.SessionTrace.OnEvent += new TraceEventHandler(DefaultTrace_OnEvent); olapsrv.SessionTrace.Stopped += new TraceStoppedEventHandler(DefaultTrace_Stopped); olapsrv.SessionTrace.Start(); the two functions can write the "feedback" to a ...Show All
.NET Development Database Backup
Hi everyone...I just want to ask how to backup MS Access Database (OleDb) using Visual Baic.Net...Hope anyone could help me...Thanks Access is not a server database and to back it up you just need copy the whole file to some other location/media. You could write some code to copy that file. There are also some backup tools on a market that allow to backup harddrive information on periodic basis. ...Show All
Visual C# Mailbox unavailable. The server response was: 5.7.1 Unable to relay for [email]
Anyone have a clue I have tried many different examples, but I just not sure about the credentials. I also do not have access to the SMTP server. please post the code you are using. for now check this out: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=760457&SiteID=1 ...Show All
Smart Device Development Use VB2005, the command for a WM5.0 device program that needs to download a file
Hello, I have a small program that runs on a smart device that needs to download a text file from an ftp site on the Internet. I can't seem to find the command to do that; can anyone help me Thank you Oh I have no doubt at all that 'behind the scenes' is a tremendous amount of complication but I am wondering why there is no equivalent line of code to use for a Windows Mobile 5.0 device. ...Show All
Smart Device Development Trouble connecting to the Web Service
Hi, I know this issue has been raised many a times but i am still searching for the solution. I am working on a smart device application under VS 2005 .net deployment for the Pocket PC 2005. Well when i work on the emulator for connecting to the web service it displays Connection could not be established to the Network with the following error at runtime: A first chance exception of type 'System.Net.WebException' occurred in System.dll A first chance exception of type 'System.Net.WebException' occurred in System.Web.Services.dll A first chance exception of type 'System.Net.Sockets.SocketException' occurred in System.dll A first chance exception of type 'System.Net.Sockets.SocketException' occurred in System.dll I have tri ...Show All
Windows Forms how to create start up page for application
i am creating database application, i want to show starp-up page when application starts, just like when C# IDE starts...where i wanna show information about database size, used space etc. i need some help about this issue... You could have you splash screen as the main startup form with: this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; You could then show all the DB info you want etc and initialise the main app form. You could have it on a timers or mouse click or whatever you want to then call: mainAppForm.Show(); this.Visible = false; Or, probably better, you could have the main app default to Visible = false a ...Show All
Windows Forms DataGridView Row Coloring
I've read numbers forums and tried numerous things but still can't get this to work. I'm looking at a datagrid and based on what is in one of the cells, color that row in the grid accordingly. I step through the code and it goes through without errors, but my rows remain the default white. anyideas For Each r As DataGridViewRow In dv0.Rows If r.Cells("Frequency").EditedFormattedValue.toupper = "MONTHLY" Then r.DefaultCellStyle.BackColor = Color.PaleGreen Else r.DefaultCellStyle.BackColor = Color.IndianRed End If Next 'I've Also tried: 'Dim MyCellStyle As New DataGridViewCellStyle 'MyCellStyle.BackColor = r.DefaultCellStyle 'MyCellStyle.BackColor = Color.PaleGreen 'r.DefaultCellStyle.BackColor = MyCellS ...Show All
SQL Server External scheduler for reports
Hi, here is my problem: Because of some usability terms, I need to use SSRS scheduler to determine reports creation frequency (minimum frequency is once a day) I need to use an external scheduler to SSRS in order to launch reports creation daily, after some other batch tasks execution that must be completed before launching report creation. And I have no idea on how to do that properly. Can somebody help me Thanks! Thanks for the answer. I think I expressed myself in a bad way. Creating my reports needs some batch tasks to be completed. These batch tasks are planed by a company scheduler. So, my problem is that I want to be able to change report creation time (e.g. from 2am to 3 or 4am) with this company scheduler to ensure that a ...Show All
Visual Studio 2008 (Pre-release) Why doesn't this Code work?
Hello, my Code: Public Class Class1 Dim frame As Frame Dim _name As String Public Sub New ( ByVal name As String ) _name = name Dim win As frmMain = Application.Current.MainWindow Dim g As Canvas = win.FindName( "can" ) frame = New Frame frame.Name = name g.Children.Add(frame) End Sub Public ReadOnly Property Name() As String Get Return _name End Get End Property Public Sub BlendIn() Dim ani As New Animation.DoubleAnimation ani.From = frame.Opacity ani.To = 1 Animation.Storyboard.SetTargetName(ani, Name) Animation.Storyboard.SetTargetProperty(ani, New PropertyPath(frame.OpacityProperty)) a ...Show All
Visual C++ built-in variables for VC?
Hello everyone, I always notice that some guys are using some VC built-in variables to specify some properties, like OutDir, ProjectName, SolutionName, etc. Then we can use the built-in variables to specify, for example, the generated library name, like $(OutDir)/$(ProjectName).lib. I think this way is very convenient compared with hardcoded names. I am wondering where can I find a list of all such built-in variable names and meanings thanks in advance, George So I need to find a way to get visual studio 2003 for my other computers Without an MSDN subscritpion, buying two visual studio licenses for every installation point could get pretty expensive. But even buying 2003 from a reseller is very difficult ...Show All
Internet Explorer Development Extract text from Flash web page?
I need to extract some text from a Macromedia Flash page. The page itself is in HTML, but I need to extract text from the Flash section. Thanks, Yo, you'll need a program to take it apart. I've had good results with SoThink SWF Decompiler: Sothink SWF Decompiler $79.99 €71.99 Easily recovers SWF to FLA ( supports Flash v6, v7 and v8 ). Completely compatible with ActionScript 2.0 and Flash 8 , and can export every SWF element... http://sothink.com/product/flashdecompiler/index.htm Perhaps there is a trial available. BTW are you sure the text is 'in' it Some SWF's draw in text from external sources. ...Show All
Visual Basic Stange Code Formatting
I got a strange formatting problem in VB 2005. After been writing code for awhile, Out of the blue VB, begins to make strange formatting of my code. etc. I want to write "try" and it comes out like (t)(r)(y), anybody know what cause this. I have to restart VB and then it is fine for awhile again. Drives my up the wall hi Well i have done that and it do not really make any differents, I think that I might have to re-install VS 2005 again. Then use it without any add-ins for awhile. if everything is okay, then install the add-ins one by one and see how it goes. Thanks anyway ...Show All
.NET Development How can I remove ASPNET account when it is not used
Hi I recently installed .NET framework SDK 2.0 to learn VB. Whenever I run the SDK tutorial, it seems to define the ASPNET account in the system and the accont remains there even after the tutorial is finished. I can remove it only by re-booting the PC. I'd like to remove the ASPNET account as soon as I finish using the SDK tutorial because my company's audit scan doesn't like the extra account on my pc. Is there any command available to do that Strangely the account appears only in the audit report but not on the user account in the control panel. I am an absolute beginner and don't know about how it works. TIA Sorry correction in the previous post. it should read 'It is not easy to understand why i ...Show All
SQL Server Where to put Calculated Fields
This doesn't necessarily belong in this forum, but I'm starting here in the hopes of getting some direction. Business users have asked me to "map" a spreadsheet to our Datawarehouse. The spreadsheet contains a lot of calculations. I created a first pass, but it was difficult to map the Analysis Services cube data to the spreadsheet data and in the process I had to hard code a lot of things that will make the spreadsheet less flexible for additional data. So my question is, where is the best place to put calculated fields. In my SQL Statements, in ths SSIS transformations, or in the Analysis Cube Any help, or pointers to more information, would be greatly appreciated. It depends on many things. You need to decide at what gr ...Show All
