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

Software Development Network >> Marek Istvanek's Q&A profile

Marek Istvanek

Member List

MedicineMan
muelle60
Nimble
Ice Age
Quilnux
thechristopher
dvferretm
RoyZ
FreeAgent
rholder
MSDev23
Bruxir
tattoo
jaimlin
Gravy
Bartosz
AlexBB
Mio
ZopoStyle
FannwongCindy
Only Title

Marek Istvanek's Q&A profile

  • .NET Development Reading file size and then store the name, date and size in database

    I'm trying to make a program that basically say that every morning run this directory and scan through all the files. Then record the name, size and the date and then compare with the one that already existed in the database. If everything is match then pop up message say GOOD. If something has been changed then pop up a message say NOT GOOD. But aslo if i know that there was an update on the file so the date has been changed, that program should also have an update function to update the database. For instance File1 800kb 7/18/2006 File 2 1mb 7/17/2006 because this is the first time i run this program so i have to insert this into the data base. so after inserting, the database will have a list of file 2 and 1 with ...Show All

  • Visual Basic if statements using an empty variable?

    curious how to do an if statement like the following : dim variable as string if variable = null then do something else do something else end if the variable will be populated by a combobox and if nothing is selected in that combo box it remains as nothing just an empty variable and I want to be able to execute certian code if a variable is selected and execute different code if nothing is selected. Anyways how would I go about this, am I on the right track with my if statement no thats awsome, I probably owuld have figured it out if I hadn't already been staring at code for the last 8 hours, I think my brain is starting to shutdown so thank you very much that solved my problem perfectly ...Show All

  • SQL Server Cannot Launch DTA - Failed to open new connection

    Installed SQL 2005 STD and installed SP1 for SQL on a Windows 2003 STD server. I launch DTA and I am logged in with the same windows account which the SQL services use and I get the following message: =================================== Failed to open a new connection. =================================== Could not find stored procedure 'msdb..sp_DTA_help_session'. (.Net SqlClient Data Provider) ------------------------------ For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&ProdVer=09.00.2047&EvtSrc=MSSQLServer&EvtID=2812&LinkId=20476 ------------------------------ Server Name: FHCMS,1433 Error Number: 2812 Severity: 16 State: 62 Line Number: 1 ---------------------------- ...Show All

  • .NET Development where can i find...

    where can i find windows.h it's say that " not including windows.h" It depends on what/where/if you have installed platform SDK/Microsoft VC++... http://msdn2.microsoft.com/en-us/library/aa383745.aspx What are you trying to do when you get the error Best regards, Johan Stenberg ...Show All

  • Windows Forms how to change background color when image selected in listview

    hi,   I have a listview in that i added images using imagelist. when i click on one image it changes to other image.. but my problem is that when i click on image there is a blue color displayed over it. due to which image is not displaying properly.. so can that blue color be removed from there and image displays clear.. is anyone know how to resolve this problem....   thnx ya that project is good... but again he hasn't discussed about the selection focus... so couldnt get much idea... ...Show All

  • Software Development for Windows Vista Tutorial

    Hai, I need a good website name for the tutorial of asp.net.It shd be good and easy for both theory and practical examples.More example oriented website is preferrable. Head on over to http://www.asp.net and ask 'em. This forum that you're posting in is for Windows Workflow Foundation questions. Regards, Paul ...Show All

  • Visual C# Visual Studio is acting weird

    I am having some trouble with the Visual Studio IDE. I have a solution sol.sln and I have some projects under it. All the project files and solution file are under source control. I have added the projects to source control using Visual Studio itself, so I couldn't have gone wrong there. When I open the solution and build it, it tries to save every project that is in the solution. Since the .csproj files are under source control, it says 'Access denied' when it tries to save. I have been using this solution from more than 2 months now and this weird behavior has started recently. Another behavior is that when I open the solution and try to close it (without any edits/changes) it asks me if I want to save the following files and the list o ...Show All

  • .NET Development Efficiently handling xml fragments in a file

    I'm looking good way of reading a sequence of serialized XML fragments (subtrees) one at a time from a file containing a sequence of serialised XML nodes. I will be performing XPath queries on each of the subtrees. I have a program that reads XML subtrees (fragments) from a log file as it is being written. Currently, it uses a File System Watcher to be notified that data has been added to a file, reads it through a FileStream, splits events using Regular Expressions and runs each event into an XmlTextReader. At this point it uses an XPathDocument, Xpath and an XMLNavigator to select information for display. I was hoping to improve the program by eliminating the use of Regular Expressions to improve efficiency and the accuracy of spli ...Show All

  • Visual C# Accept Button on the form

    Hi On your form you can set the accept button property to a button on the form. What does this do If when ever a user presses enter i would like it to press the accept button. Can we programiticaly pres the button Thanks in advance ...Show All

  • .NET Development Slow painting of ListView

    I simple add ListView to the form and set ListView's back color. Draging the window over my listview, listview painted very slowly and i can saw the white regions on listview. How i can solve this problem public partial class Form1 : Form { MyListView p = new MyListView(); public Form1() { this.WindowState = System.Windows.Forms.FormWindowState.Maximized; InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { p.Parent = this; p.Dock = DockStyle.Fill; ImageList iList = new ImageList(); iList.ImageSize = new Size(32, 32); p.LargeImageList = iList; p.View = View.LargeIcon; for (int i = 0; i < 100; i++) { ...Show All

  • SQL Server Processing of cube created via DSO in AS 2005 fails

    We are testing an application originaly written for AS 2000 with AS 2005. This application uses DSO from VB to create and process cubes. I have gotten over the major hurdles of getting DSO to work with AS 2005. However, upon creating of the cubes, I get errors processing it (even from Management Studio). Here's the code (abridged to remove error handling) that we use to create a cube: Dim dsoCube As DSO.MDStore Set dsoCube = m_dsoDatabase.MDStores.AddNew(cubeName) ' set the cube's description dsoCube.Description = sCubeDesc ' set the cube's datasource dsoCube.DataSources.Add m_dsoDatabase.DataSources(mvarDBName) Dim dboStr As String dboStr = sLQuote & "dbo" & sRQuote & "." ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. .xnb files are huge

    Hi! Our 2D game is getting huge because of the non-compressed .xnb files all our graphic are stored as by XNA. A single background image in 1280x720 pixels is using 3,5 MB ! What can you do to get file sizes for graphics down Maybe I need to explain myself better. When the background images are stored as compressed jpg's they are about 75 KB in size for at 1280x720 resolution. When they are published in our XNA game they are about 3.5 MB in size (in xnb format). So the question is how to compress images in XNA when deploying games ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. SCREEN TEXT

    how do i output text to screen using the basic text outputs for logs -zeke XNA at present doesn't have the ability to output text. You need something like XNAExtras, which outputs bitmapped fonts http://blogs.msdn.com/garykac/articles/749188.aspx ...Show All

  • SQL Server Sending Column Name as a Parameter to Aggregate function

    How can do this. Because my stored function contains same clause except colums name.So I want to use column name as a parameter but how can send column name and use it like Sum(parameter) function . my procedure like this: ALTER PROCEDURE [dbo] . [ORNEK10] @YIL VARCHAR ( 4 ), @TEKLIF_TURU VARCHAR ( 255 ) AS BEGIN DECLARE @N1 FLOAT DECLARE @N2 FLOAT SET @N1 = ( SELECT DEGERI FROM PARAMETRE WHERE PARAMETRE_ADI = 'N1' ) SET @N2 = ( SELECT DEGERI FROM PARAMETRE WHERE PARAMETRE_ADI = 'N2' ) SET NOCOUNT ON ; --I want to avoid using if statements for Sum() function IF ( @TEKLIF_TURU = 'BASKAN_TEKLIF' ) SELECT TOP ( 100 ) PERCENT KOD1 , KOD2 , KOD3 , KOD4 ...Show All

  • SQL Server SQL Server 2005 Integration Services Installation Guide

    Hi, all, Thank you very much for your kind attention. Would please any here give me any advices for where can I find the SQL Server 2005 Integration Services Installation Guide The one I found online ( http://msdn2.microsoft.com/en-us/library/ms143506.aspx ) is just confused me, which is just about the installation of SQL Server 2005 different version. Really need help for that. With best regards, Yours sincerely, here are a couple more links that you may find helpful, as they contain links to other articles and white papers: Integration Services resources on the MSDN SQL Server Developer Center http://msdn.microsoft.com/sql/bi/integration/default.aspx Integration Services resources on the TechNet SQL Server ...Show All

©2008 Software Development Network