Software Development Network Logo
  • Audio and Video
  • Windows Vista
  • Microsoft ISV
  • SharePoint Products
  • Visual Basic
  • Game Technologies
  • Windows Forms
  • SQL Server
  • IE Development
  • .NET Development
  • Smart Devicet
  • Visual C++
  • VS Team System
  • Visual C#
  • Visual FoxPro

Software Development Network >> ThEpRoPhEcY373's Q&A profile

ThEpRoPhEcY373

Member List

JackMit
John_Mac
DeonCadme
anderskj1
Strakian
John Lieurance
ron nash
xeriouxi
.NET Developer
Antonio Calderon
aoky
ivanwong
Donaghy
David d48701
FilthySlider
bw12117
Venkata Prasad K
Michael_DE
paso
Vegar Imsland
Only Title

ThEpRoPhEcY373's Q&A profile

  • Visual C++ about timestamp

    Hello everyone, I need to record a set of data items. For each data item, users may modify to some new content. So, I plan to use a timestamp field for each data item to record the time when user modifies data item last time. I am not sure whether I should use a simple integer value (like version information, which increase 1 each time when user modifies data item) Which approach is better What are the advantages and disadvantages of each approach thanks in advance, George Thank you Chris, Chris Hird wrote: I tried to use the time stamp but found it did not work in my case. the problem I had was the process ran so quickly that retrieving the current date and time resulted in a lot o ...Show All

  • SQL Server Request for SqlCeEngine.Exists(), .Delete() methods

    Given a connection string, I can create a database using a SqlCeEngine object and call engine.CreateDatabase(). However, there doesn't seem to be a way to determine whether a database exists, given a connection string. I would need to interpret the connection string myself and extract the file name to use File.Exists() etc. There should be SqlCeEngine methods to test whether a database exists, test whether it's accessible, and to delete it, given a connection string. Cheers, Oli It is unlikely that would be added as you can easily do that with simple string manipulations and classes from System.IO – you already know how. In compact world (where keeping size down is very important) functionality is ...Show All

  • Visual Basic Opening File in textbox

    How would I open a file selected in an openfile dialog in a richtext box Thank You! How would I open a file selected in an openfile dialog in a richtext box Thank You! Dim theOpenFileDialog as new OpenFileDialog() if theOpenFileDialog.ShowDialog() = DialogResult.OK then Me.theRichTextBox.LoadFile(theOpenFileDialog.FileName) end if does this help ...Show All

  • Visual C++ How to close a file safely no matter whether the file is closed or not?

    How to close a file safely no matter whether the file is closed or not I hope that some expert can give me some sample for this small problem. Thanks. Folks on the newsgroups at http://msdn.microsoft.com/newsgroups should be more familiar with such issues. OTP Thanks, Ayman Shoukry VC++ Team ...Show All

  • Software Development for Windows Vista play video on 3D object

    Hi Is it possible or anyone has done it before.. to play a movie on 3D object like a sphere.. or something My idea is to ge each frame.. and set it as texture.. but that will strech the image.. and that not good .. anu ideas Thanks! In the DirectX 9.0 SDK under Samples\C++\DirectShow\Players\Texture3D9 is the sample for the cylinder example. It only uses a video as a texture mapped to a cylinder primative. The distortion filter I was referring to is something you can create in After effect using the persepective adjustment. You could also create your own as a filter for directshow but that is left as an exercise for you :) ...Show All

  • Visual Studio Express Editions ArrayQuestions

    How do i have an array that doesn't have a size How do i store an array in the my.settings Shoot, got that wrong. Really meant to say "Perverse" to get the point across. Thanks for the correction. ...Show All

  • .NET Development how to create .xml file using SQL query (SQL Server 2000)

    i'm using a datawarehouse from which i need to pickup huge data and show it using a grid on a web page. my thought is to create an .xml file suing SQL query and then create a dataset from the XML file and then bind it to a datagrid do any one have any better(best) approach for this   actually the requirement is like this: 1) Its a migration project from asp to .net with many enhancements in the application. 2) clients already designed the DB. we should not make any changes to DB. 3) i have a stored procedure which returns 26000 rows with 24 columns. This data needs to be populated in a grid for client's reference. that is why.. I want to create a .xml file from st ...Show All

  • SQL Server Date Format Problem

    i have change my field like that format = format(Fields!TimeStart.Value, "dd -MMM- yyyy") Its working perfectly.Once i deployed my report this format is not working once deploy my report its showing that field fill dd -MMM- yyyy why there is no date in that field i dont understand can anybody know this one. From the description it sounds like the TimeStart field is of type DateTime when running in preview (running based on the cached data from the .rdl.data file), but of type string when running on the report server when running against live data. Are you running against the same data source in your design environment and the server Did you click the little green refresh icon in the preview toolbar ...Show All

  • SQL Server how to self sign assemblies

    i found one tutorial on self signing assemblies for use in sql server, but it appears to have errors. does anyone know of a better tutorial on this topic the site im currently looking at is here: http://www.sqljunkies.com/WebLog/ktegels/articles/SigningSQLCLRAssemblies.aspx If you download the SQL Server 2005 samples from http://www.microsoft.com/downloads/details.aspx familyid=e719ecf7-9f46-4312-af89-6ad8702e4e6e&displaylang=en , you'll find a CLR sample called AdventureWorks which by default installs to C:\Program Files\Microsoft SQL Server\90\Samples\Engine\Programmability\CLR\AdventureWorks. If you follow the instructions in the readme, it will explain how to create the key files for signing the a ...Show All

  • Visual Studio Express Editions print preview dialog

    Does anybody know how to make the print preview dialog show the contents of a rich textbox I was wondering because I am making a text editor. it has been a while, since I get quite get access to the code I have done before, I hope this helps: http://msdn2.microsoft.com/en-us/library/system.windows.forms.printpreviewcontrol.aspx this includes sample code on performing a printpreview, just as you are wanting (like when you do a print preview in MS Word) ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Camera track bend

    Perhaps a bit of a tricky math question here... My camera has a current position and target, and a destination position and target. I have a "process" method, which moves the position a little closer to the destination every time it's run. This produces a smooth camera movement from point a to b... However, I want to give the user more of the scenery - as sometimes it's just looking at a wall. I plan to do this by keeping the camera target path the same, but bending the camera position path outward. Sort of like zooming out, away from the target, then back in again once the destination is reached. I have had several attempts at this, which include adding delta values to the Z and X axis' up to 50% of the way, then subtra ...Show All

  • Visual Studio Express Editions Just Starting

    After completing a few projects in embedded C using ATMEL devices, I have decided to learn visual C++. I have an engineering degree and have learned the (cough!) "basics" from there. I have Visual Studio 2005 standard edition on my pc and I have a book: Microsoft Visual C++ 2005 express edition programming for the absolute beginner. Ok, I have already started to develop my own applications but every time I read this forum I seem to get really confused. So I thought that I'd hold my hand up, ask a few questions and attempt to further my understanding. People have quoted .NET and winForms at me. I thought I was developing applications in Visual C++ and thats that. So, am I using .NET or winForms because I thought ...Show All

  • Visual FoxPro Crystal Reports SelectPrinter command error

    Hi All, We have a VFP 8.0 program uses Crystal Reports XI object to print one of our reports. Last week the program started giving a Fatal OLE error on SelectPrinter command. "Exception code c0000005. Ole object may be corrupt.". We haven't change the exe file, we haven't change the report and we didn't install any new thing on the computers. Here is the code: CRApplication = CreateObject ("CrystalRuntime.Application") CRReport = CRApplication.OpenReport("DailyReport.rpt") CRReport.SelectPrinter('AdobePS Acrobat Distiller','Acrobat Distiller','c:\temp\*.pdf') CRReport.PrintOut(.F.,1,.T.,1,1) Release CRReport, CRApplication Any information is greatly appreciated. Thank you in advance, ...Show All

  • SQL Server Is it possible to version custom SSIS components?

    Is it possible to use versioning at all with SSIS components My experience so far is that I have not figured out how version them at all, because if I change the version number, then apparently the <property name="UserComponentTypeName" ...> has to be changed in every single reference to the component, in every dataflow, in every single dtsx file that uses the component at all -- this will be a tremendous headache as some of this stuff is in source control. It seemsl clearly infeasible to check out and substitute and change all these references, and check them all back in, except very infrequently -- surely not feasible to do it for each small change. I am in the habit of versioning dlls and assemblies, and actually chang ...Show All

  • Visual C++ CFile usage performance question

    VC++ 2005 Unmanaged code: My system makes heavy use of the CFile object to read and write lots of files. We're talking 100s of threads talking to 10,000s of files. It commonly does either a open, read entire file, close Or an open, append, close to the file. In general, one pool of threads opens the files and pass it to another pool of threads that then reads or writes the data and passes it to another pool of threads that simply closes the files. By doing this, we can make slower operations, like closing a file, be run on a low-priority thread. This also reduces thrashing the same file since we can detect that a file is in a waiting to close queue and grab it instead of opening a new CFile. To try to increase performance, we cha ...Show All

©2008 Software Development Network