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

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

jackiep

Member List

TIEN DUC
kamuixkotori
Troy L
Daniel N.
jamil
jvnb.kiran
CBueche
arkiboys
Koltron
JohnBGood
csi_hugh
UnknownScripter
Abelard
Fabio Pagano
Cyber Sinh
jsmans
jason duncan
SaravanaKumar_1977
Joshua0001
JacksonJones
Only Title

jackiep's Q&A profile

  • Windows Search Technologies Stopping Search from a command line?

    WDS under Vista has huge performance issues for me- even after allowing 5 days for it to index, my HD runs excessively. The worst performance hits are when I'm running anything full-screen DirectX, at which point every 10-20 sec, I'll hit a pause of 1-2 seconds. Irritating. What I'd like to be able to do is stop the service from a command line. In XP, you could do this with something like "Net Stop "Windows Search"" in a batch file. In Vista, I get "System Error 5 has occured. Access is denied." Any workaround And I mean to the command line problem, not the performance problems... TL_Norman, You can pause the indexer by simply doing the following: In 2.6.x you ...Show All

  • .NET Development AcceptChanges

    I obviously misunderstand the functionality of AcceptChanges() as my Access 2003 database is not getting updated when I do the following: MyDataSet . MyTableRow row = MyDataSet.MyTable.FindById(id); row.BeginEdit(); row.Name = txtName.Text; row.Email = txtEmail.Text; row.EndEdit(); row.AcceptChanges(); The 'row' is found (using the id) and contains the correct data. I've also tried calling: MyTableAdapter.Update(row) But still the update is not commited to the database Can anyone sched some light I know how to do it the long way, but I am trying to use the inbuilt .NET 2.0 functionality. Thanks ...Show All

  • SQL Server modifying data from extract before import

    Hi all, Having some fun with an excel import. I have a excel sheet that has data that needs to be UpSert'ed into 2 different tables. In addition, I need to use a value in the spreadsheet to determine the PK from a reference data table, for one of the UpSert oprations. That is all working now. The thing I'm struggling with is something I am sure is quite simple - but I'm not seeing a solution from attempts, googling or BOL. 2 of the columns I receive have either nothing, or X in them. The columns they go into are defined as BIT, NOT NULL. So, in SQL it would be something relatively simple like: CASE When IsAvailable = 'X' then 1 When IsAvailable is null then 1 ELSE 0 end But I don't kno ...Show All

  • SQL Server Complex Transformations (SSIS components vs TSQL)

    Greetings SSIS friends, I have been attempting to implement one of our numerous ETL processes in SSIS but hit a brick wall when I tried replacing a complex stored procedure with a series of Merge Join components. In the end, I had to settle with using a SQL task which merely calls the stored procedure and this proved to be the better option as the other version where I used SSIS components only took forever to run. How do people cope with complex transformations ! Do you guys opt for pure TSQL to perform complex transformations and use SSIS components for control flow+simple(ish) data flow tasks I am confused. dreameR.78 wrote: Yes it has speeded up considerably although I still think I can shave a ...Show All

  • Visual C++ DLL without CRT

    Is it possible to create a dll without it's copy of the CRT, so that it would use one from the context of the calling process well, the thing is that i am creating projects with CRT statically linked, and i DO want to create a dll without it's own copy of the CTR. that was my question. I already had problems with freeing the memory i have allocated in a dll. I have solved them by rewriting an allocator for vector and map.But now i am thinking of this another possibility. As long as the dll's code is executed in the context of calling thread, i thought it could be possible to use the caller's copy of the CRT.. ...Show All

  • Visual Studio Express Editions Matrix implementation problem

    Hi everyone, I am implementing a matrix program which create matrix according to the values on a file and write to or read from files the values of the matrix. However, since I am not able to compile my program, I would like to ask you that whether my class si logically correct and whether it gives a compile time error or not. If there is unexpeted situations in my code, would you please help e to fix them class SymmetricMatrix { public: int index1; int index2; int **matrices; /* * Constructor that initializes an empty matrix with a given size. */ SymmetricMatrix(const int matrixSize){ size = matrixSize; matrices = new int*[size]; for(int a = 0; a < size; a++) matrices = new int[size]; // assigni ...Show All

  • Visual Basic Raising events from .NET UserControl inside a VB6 MDI form(Interop Forms Toolkit)

    I have used the Interop Forms Toolkit example: http://blogs.msdn.com/vbteam/archive/2006/11/02/interop-roadmap-usercontrols-mdi-and-data.aspx , and am using the example InteropUserControl. I want to raise an event from my .NET UserControl which is hosted inside a VB6 VBControlExtender type: Private WithEvents moDynamic As VBControlExtender Set moDynamic = Controls.Add("InteropUserControl.InteropUserControl", "DynamicControl") The control loads fine. How do I raise an event from the .NET UserControl so it is trapped by the VBControlExtender Hi, It's good to see that MS team is working on this, because I was realy missing this, while using System.Runtime.Interop. So thanks for y ...Show All

  • SQL Server Filters and Page Numbers

    I've discovered an issue related to filters and page counts. When I generate a report that creates a number of pages, but then filter the results, the page counts in the navigation bar (above the report), continue to display the original page count (1 of 169, for example). To reproduce: 1 Run a report that contains enough records to span multiple pages. Note the maximum page number. 2 Specify a filter for the report that restricts the number of rows returned to less than a page. Note that the maximum page number does not change. 3 If you click the next page link, (single right arrow) the same page is displayed, but the page display changes to page 2 of x. This also seems to occur if the filter generates a page c ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Breakout

    Hello, I have about a year of experence with C# and I have tried a simple game using XNA, I made breakout with some crappy homemade graphics Would anyone mind to look at my code and tell me what I could do better with Note: The game is not completely done yet but for the most part, it works. Code is at http://joshmackey.net/programming/XNA/XNA%20Breakout/ Haven't looked through all of the code yet, but I liked your idea of StateManager. It's very, very similar to the one I'm using in my own project, but now I noticed there's a few things I can definetly use to improve my implementation! Could you pack your project So as not having to download file by file ...Show All

  • Visual Studio 2008 (Pre-release) Samples for January Orcas

    Got the January Orcas (VSDec2006CTP) image installed - Yeah Greenbits! But I can't seem to find any Entity framework samples. Am I supposed to download the latest ADO.NET samples from October http://www.microsoft.com/downloads/details.aspx familyid=c14c451d-7043-44f0-87d7-845f1c238d64&displaylang=en Hi, I've installed the Jan CTP on a clean (vista) VM, and still have the same issue with the August samples - a MissingMethodException as shown above. Anyone else seen this Cheers, Steve ...Show All

  • Microsoft ISV Community Center Forums VBA Harddisk serial

    Hi, How can I take serial number of harddisk by using Access VBA. Hello Probably not the best way but I had to do this once and I did it like this Hope this is what you were looking for. If you find a neater way of doing this please let me know. Sub test() Dim DirEntry As String Dim thisPath As String Open "C:\DIRFILE.BAT" For Output As #1 Print #1, "DIR > Direct.TXT" Close #1 thisPath = Application.ThisWorkbook.Path x = Shell("C:\DIRFILE.BAT") Open thisPath & "\direct.txt" For Input As #1 Do While Not EOF(1) Line Input #1, DirEntry z = InStr(DirEntry, "Serial") If z > 0 Then MsgBox "Hard Disk : " & Trim(DirEntry) ...Show All

  • SQL Server Setting a filter in the SELECT-statement

    Is it possible to set a filter in the SELECT-statementpart Normaly you the filter is set in the WHERE-statementpart, but that is too late for me in my statement. Right after the SELECTing the field I want to set a filter to the query Is it possible My statement looks like this now: SELECT [DatabaseName$Item].No_, [DatabaseName$Item].Description, [DatabaseName$Sales Price HAG].[Unit Price], [DatabaseName$Sales Price HAG].[Starting Date], [DatabaseName$Sales Price HAG].[Starting Time], [DatabaseName$Sales Price HAG].[Sales Code] (<== here on this item I want to set a filter) FROM [DatabaseName$Item] INNER ...Show All

  • Visual C# Saving Music Files

    I have a Media Player that I made but I can't figure out the streaming involved with saving the music that is currently playing on the player. I can play music with my player but I can't save it. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO; namespace Media_Player { public partial class Main : Form { public Main() { InitializeComponent(); } private void openMediaToolStripMenuItem_Click( object sender, EventArgs e) { openFileDialog1.ShowDialog(); WindowsMediaPlayer.URL = openFileDialog1.FileName; } private ...Show All

  • .NET Development combine dlls and exe to a single exe app

    I have a project where there is a lot of dll files and one exe file. What I want to do is put all those dlls and exe file into one exe file, so when you deploy this project over the internal network, this will be easy as just send one file to every user. thanks in advance for your help, Edward You need to use this tool: http://research.microsoft.com/~mbarnett/ILMerge.aspx Best Regards, Rizwan ...Show All

  • .NET Development Designer toolbar

    hello guys I have this silly question, Im trying to create a new web application(2003), and I cant find the "Web Forms" nor "Html" tabs in my toolbar, i tried show all tabs but still I cant find them, is there any way that i can get them back without having to add each control one by one Thank you Hi, You can reset your toolbar by doing the following: right click in the Toolbox and select "Add/Remove items..." click the Reset button (at the bottom next to OK, Cancel) This should do the trick. Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All

©2008 Software Development Network