T E N's Q&A profile
Visual C++ The difference of user-defined dll and system dll ?
I build a big project file by vc. and I use Dependency Walker to check all the dll which it depend. But I want to know which dll is user defined dll and which one is window system dll Please tell me the easy way to indentify the difference of them I apprecaite your help. So far ihave not noticed a direct way to understand a system dll and a dll that belongs to MFC library (or you have created). Both have native code and operating system does not seperates them. Obviously, you want to know what dll belongs to OS and so, you dont need to install it with program setup. There are three dlls that you can find in all the versions of windows and they are being used by the most (native) programs that runs on Windows: kernel3 ...Show All
Windows Forms Tabcontrol and pages
hi i am using TabControl with 03 pages and i would like to just show one page of the 03 page when i click in button.can that be realised because i tryes without success and how if that possible OmegaMan wrote: Someone tell me if there is a better way , but hold on to a reference to all the tab pages. When the descision comes down, remove the other two pages individually from the tabcontrol control list When they need to be readded pass the reference of the removed controls back in...This allows for the visual for the user of hiding and unhiding the tabs. I think a much cleaner way to do this would be to just use the TabPage.Hide and TabPage.Show methods. I don't think it's generally ...Show All
Visual C# looping through XML dataset
Hello all, I have loaded an xml file into a dataset and I can get to each value in the dataset, except for one because it has multiple values. I have tried using "nodes" ienumerator etc etc etc but I just cna't seem to get this to work. Any help is GREATLY appreciated as I am pretty much at my wits end... Thank you!! This is the XML file: < xml version="1.0" encoding="utf-8" > <DAPak xmlns:xsd=" http://www.w3.org/2001/XMLSchema " xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance "> <userID>ctmell</userID> <userPW>test</userPW> <OutputFile>.\temp\3242.PDF</OutputFile> <ReportID>3</ReportID> <dtBegin>2005-03-01T0 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Image File Extension .dds
My problem surface, when I need to add image file, say texture1.dds to my game project. WindowsGame1 Add Existing Item... then from the dialog I select Files of type Image Files (*.gif,*.jpg,*.jpe,*.png,*.bmp,*.dib,*.tif,*.wmf,*.raw) So my problem is missing image file type *.dds . DX Tool creates it and is supported by XNA Texture2D.FromFile(). Is there published solution avaible or should I change with hexeditor for example *.jpe (never seen jpeg files with this extension) to *.dds If I hard code extension, then where lives dialog recource Any comments will do Peca Sorry, but drag&drop don't work. If you look "File Name" property, you see only pure file name without path. ...Show All
Visual Studio Tools for Office Integrating Active Directory & Excel
Is there any way to integrate active directory with excel workbooks I want certain areas in my excel workbook restricted or totally unavailable based on a users' windows authenticated login. Would've been awesome if Excel had something analogous to website admisnitration in ASP.NET websites. Cool link . Thanks! @Cindy. I should have been more elaborate in my question. I meant that in VSTO the only proabable solution would be to enter a userid and password which would be database verified. I'll look up the excel programming group. Thanks. ...Show All
Smart Device Development New project wizard fails when creating a smart device project
Both below attempts are failed for me: Visual C++ > Smart Device > Win32 Smart Device Project Visual C++ > Smart Device > MFC Smart Device Project On the status bar, it says "project creation failed." For Win32, it returns to the previous screen. For MFC, it returns an error says "An error has occurred in the script on this page". Then it returns to the previous screen. Line: 4034 Char: 3 Error: Object required Code: 0 URL: file:///C:/Program%20Files/Microsoft%20Visual%20Studio%208/VC/VCWizards/SmartDeviceAppWiz/MFC/Application/html/1033/default.htm I have installed Windows Mobile 5.0 Pocket PC SDK, and am able to open a smart device project. But cannot create one in wizard. Please help! ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Video/Animation Playback
Hi, I'm currently writing a library (for XNA/DirectX) for animation/soundless video playback, and I have a few design questions for the pros out there if you don't mind answering them : I'm having my animation class inherit from game component, and update the frame depending on game time in the overriden Update method, and render it in the overidden Draw method, but even when I preload my textures to render, playback is choppy. Not sure exactly why, but I notice this only when I have significant number of frames (I noticed it with 100 frames, but *not* with 10/15). This problem may be linked and solved by the 2nd point, so please read on. When I preload all the textures for the frames in the animation (and the no. of frames ...Show All
Visual Studio Express Editions Custom made control
Hey, How in VC#2005 would I creat my own contro, for my programs I need to amke a webbrowser control so it will not use Internet Explorers so I can make it do what I want it to do...But I dunno what option in Visual C# 2005 lets me create a control... ... ... Thanks :) You would start with: Public Class MyBrowser Inherits Control End Class Now, you need to cough up a massive amount of code to make it actually look like a WebBrowser control without using Internet Explorer or the built-in WebBrowser control. Good luck. ...Show All
Visual Basic How to open a CSV text file and import that data to a database?
I work for a medical billing and accounting firm and we get these massive medical reports that are not sorted. What I am trying to do is write a program to add these reports to an Access database so that i can recreate the reports using crystal reports. I already have a system in place to sort add these reports to csv files and importing those files into a database and then refreshing a Crystal Report I already have setup with the new data. My goal for this program is to be able to open the program select a csv file, import that file to a access database, then generate a crystal off the updated database. Where I am having trouble is getting that csv data into the database. Any help will be greatly appreciated. ...Show All
Visual Basic File to Array and general Array help/information
Hi, I have been trying to get a file of data written in the following format:- 0001 – (16bit numbers in decimal) 0002 0003 0004 And so on (upto 25000 results) Into an integer array:- myFileContents(0) = 0001 myFileContents(1) = 0002 (and so on) My code is as follows: - Dim myFileContents(10000) As String Dim i As Integer OpenFileDialog.Title = "Load File" OpenFileDialog.Filter = "Text Files (*.txt)|*.txt|All Files (*.*)|*.*" OpenFileDialog.FileName = "" OpenFileDialog.FilterIndex = 1 OpenFileDialog.InitialDirectory ...Show All
Windows Search Technologies WDS not Showing Up In Taskbar
I have installed WDS previously and had to remove it. Now I have installed it again but I cannot get the WDS box to appear in my task bar. When I look at the running processes I can see that it is running. I can also find it in the Add/Remove Programs control panel. No matter how many times I install/un-install, even with different versions I cannot actually get to the program. any help would be appreciated. Tony I am also getting this error on my latest install of WDS. _________________________________________________________________________________ The instruction as "0x010ff516" referenced memory as "0x00001158". The memory could not be "read". Click on OK to terminate the program. ...Show All
.NET Development Creating a Proxy for Client-Web connection
Hi, I have created an application that uses internet connection (think of it as a web browser), but this application is going to run on another computer, by another user, and instead of accessing directly the web, I need that application to access the web, through my computer. So basically I need to create a sort of proxy server for that application, so it accesses the web and receives the data, all done through my computer, that will be using a small application to serve as a 'proxy' for the connection between the client application and the web. ? I need help in creating this kind of server, and I will also need to know what will the client application need to communicate with the 'proxy server', that will be my computer. Here ...Show All
Visual C# ProgressBar Dilemma
My user wishes to see visual proof that their app is processing files. I've never used a ProgressBar before and I'm trying to get a test to work before I 'muddy-up' my production app. I've gotten to the point that I can get the Value to display as each record in a file is read; however, when it gets to the final record it displays the following exception: Value of '1894' is not valid for 'Value'. 'Value' should be between 'minimum' and 'maximum'. Parameter name: Value I know what the problem is (there's 1893 records in my test file), I just don't know how to fix it. I've tried to set the record count to it's value +1 ( this . thisProgressBar . Maximum = Convert . ToInt32 ( m_strInputFile . Length / 1024 + 1 ); ), but still g ...Show All
SQL Server microsoft decision tree algorithm
I have read some sources about microsoft decision tree algorithm like in claude seidman book, paper about scalable classification over sql databases and paper about learning bayesian network. But i still don't understand and i still didn't get the point on how microsoft decision tree algorithm works exactly when splitting an atribut. Because i have read that microsoft decision tree using Bayesian score to split criteria is it true Well, anyone could help me to understand about microsoft decision tree algorithm, please give me details explanation with some example(cases). thanks for anyone help There are links to the appropriate research papers at http://www.sqlserverdatamining.com/DMCommunity/TipsNTricks/986.aspx Than ...Show All
SQL Server CLR integration problem
Hello, I wrote an assembly with refernce to another assembly (the referenced assmbly is framework 1.1 assembly, i don't have its source code). I tried to load the assembly to SQL Server (reate Assembly...) and got the following error: reate failed for SqlAssembly 'OptimalTest.Statistics'. (Microsoft.SqlServer.Smo) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Create+SqlAssembly&LinkId=20476 ------------------------------ ADDITIONAL INFORMATION: An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo) ----------- ...Show All
