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

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

efriese

Member List

KJBalaji
eddy2705
tabdalla
Dave Edelman
NoEgo
Dr. Zoop
StarsFire
Lenmax
yuvald
laoer
87jerome
DiscoverIT
Ilya Margoulis
pukla
JR Lyon
Sumayah
Jonathan Wong
Tewks
naddyB
Izhido_
Only Title

efriese's Q&A profile

  • Visual Studio Tools for Office Word Combining Several Documents into a single Doc

    I have created the following sub procedure, which takes all the documents in a directory and combine them into a new directory. The problem is I put a page break after inserting each document so I am ended up having a blank last page. Is there a way to delete last page Private Sub CombineDocument() WordApp = New Word.Application WordDoc = New Word.Document Try WordApp.Visible = True WordDoc = WordApp.Documents.Add() For Each foundFile As String In My.Computer.FileSystem.GetFiles _ ("c:\test\", FileIO.SearchOption.SearchTopLevelOnly) With WordApp.Selection .InsertFile(foundFile) .InsertParagraphAfter() .InsertBreak(Word.WdBreakType.wdPageBrea ...Show All

  • .NET Development How can I convert this c# code into a regular expression?

    I'm trying to create a "path validation method" to check if a string can be used as a valid path in my program. The path must contain an indication character at the beginning of it which can be either minus, tilde or a dot. In case of a minus character than it must be followed by a number. In case of tilde or a dot than it must be followed by any valid step format. A valid step format is either a s tring enclosed by a sharp brackets , a number or a combination of a string enclosed by a sharp brackets followed by a number without white spaces between the brackets and the number. After the initial step we can have a dot separator to indicate that we have additional steps that must follow the normal step format without the starting indicatio ...Show All

  • Visual Basic VB SCript for closing program

    Thanks for the advice, even a .net solution would be okay. well in .NET, depends on how you want to close a program. If you mean your own, then Application.Exit() closes your program correctly. If you mean to get a specific program and "kill" it, then try this: Dim theProcesses() as System.Diagnostics.Process = System.Diagnostics.Process.GetProcessesByName(" ProcessName ") for each currentProcess as Process in theProcesses currentProcess.Kill() next this gets a list of processes by the processname you give it, and goes through each one and kills it. You can also get the process by ProcessID using the GetProcessByID method. Does this help is this what you are after ...Show All

  • Visual C++ list boxes and data sources...

    Here is what i am trying to do: listBox1 displays information from a database. when I click on an item in listBox1, listBox2 displays information from another table. However, i try putting this code in: private : System::Void listBox1_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e) { if (listBox1->SelectedIndex.Equals( "Elves" )) { listBox2->DataSource = "gamestaBindingSource2" ; } else { listBox2->DataSource = "gamestaBindingSource3" ; } } The program runs, but when you get to this section, the following error appears: "An unhandled exception of type 'System.ArgumentException' occurred in System.Windows.Forms.dll Additional ...Show All

  • SQL Server Plase HELP ! SQL ERROR =>> An I/O error occurred while receiving the TDS prelogin response.

    i get this error when i try to connect to sql server 2005 developer edition with the latest JDBC. sql string =>> jdbc:sqlserver://localhost:1434;databaseName=c1 Elvis elvis SQL STATE: 08S01 ERROR CODE: 0 MESSAGE: An I/O error occurred while receiving the TDS prelogin response. And the stacktrace is: com.microsoft.sqlserver.jdbc.SQLServerException: An I/O error occurred while receiving the TDS prelogin response. at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(Unknown Source) at com.microsoft.sqlserver.jdbc.DBComms.Prelogin(Unknown Source) at com.microsoft.sqlserver.jdbc.DBComms.<init>(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(Unknown Source) at com.microsoft.sqlse ...Show All

  • SQL Server Unable to install SQl Server 2005 SP2 - Unexpected error

    I am trying to install SQl Server 2005 SP2 but it was throwing an unexpected error when trying to install "setup support files". O/s: Windows Server 2003 SP1 Product: SQL Server 2005 Standard Edition Log file shows: +++++++++++++++++++ === Verbose logging started: 2/20/2007 16:05:42 Build type: SHIP UNICODE 3.01.4000.2435 Calling process: F:\SQL2005sp2\hotfix.exe === MSI (c) (74:68) [16:05:42:635]: Resetting cached policy values MSI (c) (74:68) [16:05:42:635]: Machine policy value 'Debug' is 0 MSI (c) (74:68) [16:05:42:635]: ******* RunEngine: ******* Product: C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\Cache\SQLSupport\x86\1033\SqlSupport.msi ******* Action: ******* CommandLine: ********** MSI ...Show All

  • Visual C++ Directory select popup window

    how can i get a directory select popup window in VC++... also i need to split a pathname into directory and file name ... is tere any function available.... thanks viorel... actually i was developing an appln.. in which i should get user choice by displaying a directory select popup window... i couldnt get ur answer ... iam developing my appln by c++ coding... so pls tell me briefly ... ...Show All

  • Windows Search Technologies Indexing never ends with Norton Protected Recycle Bin

    Running WDS 02.06.5000.5378 and Norton SystemWorks 2002 Indexing keeps searching Recycler\NProtect folder and customise option doesn't show me this folder to allow me to deselect it. How can I get Intexing to complete Hi Jeff, Yes, I've had a look at Group Policies and tnink they would be the temporary fix. However, I suspect there would need to be a permanent fix inforporated in the final version of WDS as many people will use Norton and won't particularly want their Norton Protected Recycle Bin indexed! I think that the important point with this problem is that you the developers are aware of the problem. So, rather than dig into Group Policies (which would probably be a bit of ...Show All

  • SQL Server count(*) and GUID primary key

    I was testing some performance and have a table with a GUID primary key and about 1 000 000 rows. If I run the following it takes about 4 minutes to execute (after one run it is cached and the query is fast 0.3 second): DBCC DROPCLEANBUFFERS select count(*) from person I tested the same with int as a primary key an this was very fast so it seams like it is the GUID primary key that is the problem. Have anyone experienced the same and can give an explanation to this behaviour (if I do a search for a firstname and lastname it also takes about 4 minutes) I do not see much of the difference. set nocount on go select top 1000000 pkid=newid() into i from master..sysobjects,master..syscolumns go alter ta ...Show All

  • .NET Development Transaction without DTC???

    Hi all! I need some help in coding Transaction that are not using MS DTC! I am rather not allowed to open the ports 134 or 135 on our firewall, but need to change 3 different tables on a SQL server covered in a transaction. I am using TableAdapter in an ASP.NET 2.0 Project (written in C#) to manipulate Tables on an SQL 2005 server (different machine). How do I do that without using the DTC Base: my code: TransactionScope scope = null; using (scope = new TransactionScope() ) { this.tableAdapter1.Update( table1 ); this.tableAdapter2.Update( table2 ); this.tableAdapter3.Update( table3 ); scope.Complete(); } It looks like if the 2nd Upda ...Show All

  • Visual Studio Sharing projects in multiple solution files

    I could do this in VS2003, but it's not working for me in 2005. I want to be able to have several different solution files reference a project file. For example, say I have SolutionA in one directory, with various project files and directories underneath it. Then I create SolutionB in a directory at the same level as SolutionA. I want SolutionB to reference some of the projects that are under SolutionA. SolutionA - Project1 - this references Project2 - Project2 SolutionB - reference Project1 (so I also have to reference Project2) The problem I am having is if I add a reference to Project1 from SolutionB, it changes the Project1 project file and removes the ProjectReference node from the XML (I reference Project2 first). Now So ...Show All

  • Windows Forms problem woth hard disk

    i am facing a strange problem that my hard disk spece is automatically decreasing plese tell me what should i do. I am sorry to tell you but this is the incorrect forum for this topic. I will have to redirect you here: www.microsoft.com. But I suggest scanning your computer for viruses and spyware. ...Show All

  • SQL Server SQL 2005 Reporting Services

    I am having problems with getting reporting services to run, I am running XP SP2 with SQL 2005 Developer Edition. Here is some examples of the errors I am receiving. When I try to start the SQL Server Reporting Services, I get the following error “The SQL Server Reporting Services (MSSQLSERVER) service on Local Computer started and stoped. Some services stoped automatically if they have no work to do, for example, the performance Logs and Alerts service.” When I go to Start->All Programs->Microsoft SQL Server 2005->Confihuration Tools->Reporting Services Configuration I get the following error “An unknown error has occurred in the WMI Provider, Error code 800706BA” The event log says ...Show All

  • SQL Server SQL connectionstring parameters

    Hi, does anyone knows where can i find all the values that support the connectionstring since the connectionstring uses the "server=local;database=nortwind;UID=me...." etc. are there more parameteres to specify which one of them is not REALLY important , where can i find a list or something about it Thank you, i hope i made my point clear Ohh, that's great, i actually made a "test app" to see how Clickonce works, and is just what i was looking for, now i only need to add code for saving new records on tables, update and all that. Thank you ...Show All

  • SQL Server Lookup component question

    Hi, i am doing a lookup to insert new records when the lookup has failed. this works perfectly normally. however when my recordset has a name-column of type string with width 5 and my lookup-table has a name-column of char(20) the lookup will always fail and henc always inserting new records although the name "foo" should match. is there a workaround for this, or do the compare-columns always have to be of the same type/length I would say it is always a good practice to have matching datatypes. I was not aware that lookup transform treated this situation as error; but it does not surprise me. You can add a Data conversion before the lookup to assure matching data types ...Show All

©2008 Software Development Network