Rafet's Q&A profile
Visual Studio Express Editions commands
where do i go to learn about all the vb commands, as i read these posts i am learning about commands that m books dont tell me about. how can do somethhing if i dont know the commands. things like accept and so on thank dman, but what you sent did not help, even the library did not give me what i wanted. i want to go somwhere and see the meaning of the commands i choose. like append; accept; insert; ect with most other languages, you get a list of commands and a synopsis of what they do, is there such a place ...Show All
Visual Basic rtf files and images
I'm creating a program that uses a richtextbox and saves to a rtf file. I'm ok with the whole saving and opening part, and can even copy and paste images into the file and save them, but I want to create an insert image button similar to that of Word where it pops up a box that allows the user to select the file they want to insert. Any suggestions What kind of error are you getting ....And yes you can accept jpg's and gif's by changing the the ofd filter to: ".Bmp|*.bmp|.Jpg|*.jpg|.gif|*.gif" The above code was tested and is functioning as expected on my system...please reply with code that is giving you an error and the error message! What version of VB ...Show All
.NET Development Manipulating DataTables
I have a filled datatable that I want to copy the column names to so I can manipulate the first datatable and store in the second. The problem is that I make a new one after filling the first one with my data, but when I set the second on equal to the first one, I change data in one and it changes it in the other. Would making an array be the answer to my problems I just thougth that working with two of the same objects would be easier. I'm not updating my database at all, I'm just pulling data and then displaying it. My data is 5 minute data that is being populated 15 mins ahead of time. Sometimes I will have a value in the current 5 minute interval and sometimes I won't. I need to place the last value in the current value's place ...Show All
Visual Studio Express Editions Soapsuds tool not present in the installation of Framework v2.0(Visual C# Express Edition)
The Soapsuds tool (soapsuds.exe) is not present in my installation of Framework v2.0, Visual C# Express Edition .(Did a reinstallation of Framework with no result!). Other tools like sn.exe,wsdl.exe are present though! Is it avaliable as separate download Thanks. Looks like it is available in the .NET SDK , I've got it in the SDK\V2.0\Bin folder (Prof edition). ...Show All
SQL Server Suggest me a simple and good tutorial for T-SQL
Hi, Can someone suggest me a simple and nice tutorial that can explain T-SQL with examples. Plizzz.... Regards.., Aazad well...lots of places... sql server books online i guess is the most comprehensive.. also have a look at http://www.mssqlserver.com/tsql/ also a series of articles at http://www.databasejournal.com/features/mssql/article.php/3087431 ...Show All
SQL Server Check the sql server service account
Hello! I would need to check the name of the sql server service account from inside TSQL. I had one idea about reading from the sysprocesses system table, but that only gives me information about the SQL Server Agent service account. Are there other ways (It has to work for both SQL Server 2000 and SQL Server 2005.) Best regards Ola Hallengren There is an undocmented approach using 'registry key reading' in SQL Server 2000 version: xp_regread @rootkey='HKEY_LOCAL_MACHINE', @key='SYSTEM\ControlSet001\Services\SQLServerAgent', @value_name='ObjectName' I'm working onSQL 2005 and will post here once it is successful. ...Show All
Visual Studio Regarding ERRORLEVELS
Hi Frenz, I wanted to know if i can get ERRORLEVEL using what i am trying to do. set test=0 :A ss History -I-Y -R -V1~2 -OD:/History.txt IF %ERRORLEVEL%==%test% (GOTO END) ELSE GOTO A :END What happens is that i get a version not found even though the version is present and ERRORLEVEL value as 0. There is some problem with the VSS but to overcome that i want to continuously hit the history command using the ERRORLEVEL that i am getting. Kindly shed some light on the problem. thanks and regards Rajiv. Has the file been archived & restored There is a bug in ss.exe where it can return 'version not found' if there are archive & restore records in the history. ...Show All
Visual Studio Tools for Office Loadpicture in Mail Merge
I have an excel spreadsheet which I am merging into a Word Mail Merge. I am creating documents which show text from the spreadsheet and a digital photo. I am interested in using LoadPicture or a similar function to load the photo on each page. The spreadsheet has the full path to the image file. Can anyone help me identify if this is possible in a mail merge Does anyone have code to accomplish this Thanks clark Hi clark I take it this isn't part of a VSTO solution, more a Word object model question In that case, the better place to ask this would be an office or word newsgroup, of which there are several possibilities: Word · General programming issues : word.vba.general ...Show All
SQL Server SSIS Scheduled job failed....
We run 4 nightly scheduled jobs on our sql 2005. All use the same domain account and were running fine until a few days. Then the SSIS job started failing when run via the scheduler. (It does run when I execute it manually). The sql 2005 History simply says the package failed and was "Executed as <Domain-User>", the same user that successfully ran the other 3 scheduled jobs. SQLAgent.out shows SQLServer Error:: 2812 Could not find stored procedure: msdb.dbo.xp_sqlagent_notify. Relevant Any ideas where\what to look for next TIA, Barkingdog Found the solution. We use a service account, a single account, for all our scheduled jobs. When I re-started the agent, it could ...Show All
Software Development for Windows Vista security of PPI
How secure is the Private Personal Identifier (PPI) of a self-issued InfoCard Anyone who knows the PPI can use it to clone a new card and steal my identity. Let's say I make a self-issued card and lock it with a PIN so nobody else can use it. Can the PPI of a locked InfoCard be learned by examining the contents of the CardSpace database file (CradSpace.db) If not, then can the PPI be derived from the contents of an exported backup (.crds) file Thanks Caleb, exactly the information I was looking for. However, I'd say that's not "just" a second line of defense -- just about anyone with physical access to the PC can generate (and of course decrypt, since they are choosing the password) an export fil ...Show All
Audio and Video Development Saving stream settings
I'm trying to save streams settings (e.g. audio/subtitle track numbers) on titleEnd system event and what I've noticed that Tosh player trigger this event after loading the new title, so I couldn't use currentTitle to collect settings because it already point to the new one. Can anybody give an idea where is the best place to save these I decided to blog about it -- http://blogs.msdn.com/ptorr/archive/2007/02/20/the-difference-between-selected-and-current-tracks.aspx ...Show All
.NET Development Releasing dBase (OleDB) resources
Hello all. I've digged Inted and found no answer for problem I found. When I connect the dBase files, the directory where dbf files are stored cannot be removed anymore untill the process (application) is closed completly. Closing datareader, connection etc doesn't help. a bit of code: OleDbConnection conn_batch = null; OleDbCommand cmd = null; OleDbDataReader dr_batch = null; conn_batch = new System.Data.OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + data_dir + ";Extended Properties=DBASE IV;"); conn_batch.Open(); // here the data_dir directory can be still deleted cmd = new System.Data.OleDb.OleDbCommand(); cmd.Connection = conn_batch; cmd.CommandText = "SELECT * FROM BATCH" ...Show All
Visual Studio Express Editions accessing file on disk
I want to access file on disk without getting it onto ram. i guess i'll hv to get it on virual memory and do it. Am i right if yes how do i do that language preffered: c# or c++ See i'll give u a brief idea about my project We r making a xml storage manager. So my program should be able to read the exact part of the file i want given the addess.(the trees and other algorithms for reading and querrying xml file are ready) i needed a tool which can help me reading the data sets i want from file without opening the whole file. ...Show All
Visual Studio Team System DLL environment isssues
I'm looking for an article or some information that may help me plan how to set up my build server environment. Several of my projects will potentially require access to various dll's belonging to installed software. I am assuming that this software needs to be installed on the build server so that the dll's are correctly registered and located on the build server. Basically, the same environment that the developer's are using needs to be set up on the build server. However, sometimes developers will be using different versions of the same software creating different environment set-ups that may be mutually exclusive. In this case, will I need to create several virtual machines with their own build servers running to cover each envir ...Show All
Visual Studio Express Editions datagridview header change
I am trying to add my own header names and have been very unsuccessful at doing this can someone point the way Thanks. Imports System.Data Imports System.Data.OleDb Public Class DatabaseClass Private theConnectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\mail.mdb;User Id=admin;Password=;" Private theDataSet As New DataSet() Private theDataAdapter As New OleDbDataAdapter() Private theConnection As New OleDbConnection(theConnectionString) 'create our connection object Private Sub DoGetData() Dim theCommand As New OleDbCommand( "SELECT * FROM importdata" ) Dim theDataSet As New DataSet() theCommand.Connection = ...Show All
