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

Software Development Network >> Juraj Borza's Q&A profile

Juraj Borza

Member List

tacpower
Ed de los Reyes
kmote
Sarguna
Raybritton
bombdrop
Bandile
Kent Boogaart
enric vives
Shah Deans
flandercan
Christoph Müller
jamsweb
Scottzxcv
bond12
Ivan_Filho
llebron
Alessandro Camargo
JLovero
CharlieRussell
Only Title

Juraj Borza's Q&A profile

  • Windows Forms Is it possible to convert a ListItem object to an Image object?

    Hello, I'm working on a web app that will display the image of a selected image file listed in a ListBox. I have gotten the file names to show in the ListBox but can't figure out how to get a selected item's image to show in the image box control. Would someone help me with some psuedo code or something Here's what I have: foreach ( FileInfo objPhoto in objPhotos) { lbxFiles.Items.Add(objPhoto.Name); // check if image file exists if (lbxFiles.SelectedItem != null ) { // add image object to image box Image objImage = new Image (); objImage = ( Image )(( ListItem )lbxFiles.SelectedItem); objImage.ImageUrl = objPhoto.FullName.Substring(Request.PhysicalApplicationPath.Length); objImage.W ...Show All

  • SQL Server how to manipulate an user mdf file

    I remember I was able to view, add, alter table on the mdf in either sql express 2005 or in vb.net 2005. But right now I can't do either, what do I have to to change Why it is not possible anymore though the meachanisms / tools mentioned Do you get an error HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual Studio Express Editions VB.NET-Deployment (UNC)

    Hello! I know to go through the 'Publish' Wizard to "setup & deploy" my VB.NET VBE application. However, where it prompts for the path that the app will be loaded from, what is/does the 'UNC' need to be set to Thanks in advance... Thanks for the info!! Another question on this... So, I go with the CD or DVD installation type... When I come to the "Where will the application check for updates " screen, do I need to use the "no update" option or (i.e. as in playing with the app locally) can I use a path to check, here Thanks in advance... ...Show All

  • Visual Studio Team System How to add TFS programatically?

    Hi, I want to provide the functionality of adding Team Foundation server (team explorer -> add existing team project - > servers... ->add) programmatically. i.e. when user enters the name of a machine and port (8080 by default), i want to verify if TFS is installed on that machine. If not, I want to show an error. Is there any API for doing this Or any other work around Manasi Oh... and in response to my own response- if this is for an external app and you want to keep the same look and feel plus get all the benefits of the TFS instances they may already have regsitered you can call DomainProjectPicker dpp = new DomainProjectPicker(DomainProjectPickerMode.None); dpp.ShowDialog(); This ...Show All

  • .NET Development suggestion on DB design

    I have a db I would like to design and code against, but I have a FK contraint issue I believe and I think I need to redesign this. I would love to get your input on what to do please To simplify things, I have three tables, Teams, Arenas and WebLinks. Each row in Teams and Areanas can have multiple rows in WebLinks (one to many in both tables). I would like to use some referential integrity (FK constraints ), but I'm not sure how to do this If I implement as I have suggested above with three separate tables, then I can't put the FK on the WebLinks table as a row from Arenas won't be in Teams and the FK will fail. Any suggestions would be greatly appreciated. Thank you. I have done bot ...Show All

  • Visual C++ How to write on Windows desktop from C/C++ code ?

    I want to display on my desktop some useful informations like my IP, MAC address, current time, etc.. Is it possible to write these informations directly on Windows desktop from C/C++ code Any ideea If you do want to write there, you will have to intercept all painting calls aswell. Otherwise your output will be obscured / erased every time there's a repaint or invalidation. Anyway, please direct this question to the UI newsgroup at http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.win32.programmer.ui&lang=en&cr=US . This forum deals with C++ language questions, so unspecific concept discussions are better routed to the appropriate newsgroups. BTW.: there's another a ...Show All

  • Visual Basic How to Create a Console Window from a VB form?

    Hi, How can I make a windows form create a console window I can create a console application and add windows forms. This worked well. However I had to change the application type to a "Windows application" in order to get the splashscreen functionality. Now I havnt got a console window... Thanks John Many thanks for your post, it explains why I dont get the option for a splashscreen in a console app. However, what I'm really looking for is the ability to have a button on a form that would open a console up (and close it if required) where the app would dump more detailed debugging information. My app outputs debug info to the console whilst it's runnig. In visual studio the ...Show All

  • Visual Studio Help Integration Wizard vs Sandcastle+SHFB

    Having generated an HxS file from Sandcastle + SHFB that contains a chunk of reference and some tutorial (using the Additional Content feature in SHFB) - I'm stuck trying to get the Help Integration Wizard to plug the HxS file into Visual Studio 2005's help collection. Following the very handy HowTo on MSDN: " Use the Help Integration Wizard to Add a Help Collection " results in the selected page (and only the selected page) being shown in the ToC. The rest of the ToC doesn't show up merged into the main ToC, even though the content is merged into the index. I suspect this may be because the HxS file is lacking a single topmost node - although I have no way of knowing: the Help2 integration system was obviously designed by someone who hate ...Show All

  • Visual Studio How do I add a reference to a class library project programatically?

    I'm in the process of building a Guidance Automation Package for a multi-project solution. And the challenge is to programatically create a reference in the web service project to the class library project after the solution template unfolds and the projects are created. I'm obtaining references to the projects in question as follows: Dim webServiceProj As VsWebSite.VSWebSite = Nothing Dim businessProj As VSProject2 = Nothing webServiceProj = CType (DTE2.Solution.Projects.Item(2).Object, VsWebSite.VSWebSite) businessProj = CType (DTE2.Solution.Projects.Item(3).Object, VSProject2) 'Add business project reference to web service project webServiceProj.References.AddFromProject(businessProj) The prece ...Show All

  • Visual C# Hidden files/folders? C# 2.0

    I need to know how I can search through a folder or directory and NOT see all the hidden files/folders. C# 2.0 Windows App If you declare the file as hidden like the above code, how do you find out if the file is "Hidden" in code. Sorry my code was unclear. Heres the code again in a simpler form System.IO.DirectoryInfo Folder123 = new System.IO.DirectoryInfo("qwerty.txt"); System.IO.FileInfo[] Files = Folder123 .GetFiles("*.*"); ...Show All

  • SQL Server selecting date range

    I have an MDX query that I'm using in Reporting Services: SELECT NON EMPTY { [Measures].[NumberOfClaims] } ON COLUMNS FROM ( SELECT ( [Date].[DTM02_Date].&[2003-12-23T00:00:00] : [Date].[DTM02_Date].&[2005-01-01T00:00:00] ) ON COLUMNS FROM [ClaimStatus]) CELL PROPERTIES VALUE, BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING, FONT_NAME, FONT_SIZE, FONT_FLAGS Now this works fine... until I change the dates... such us putting in 2000 instead of 2003 in the date first date. This cube is from two tables: 1. A Claim table (health care claim) 2. A Date table The data table has two columns: 1. a key 2. the actual date The claim table has a key that links to the date table's key, and the corresponding date is the claim date. So when ...Show All

  • Visual FoxPro appending data into an existing DBF with an autoincrement field

    I have a table called special.dbf. It has a autoincrement field. I would like to append records to this file. The autoincrement field always defaults to zero and produces an error message. Any suggestions on how to append or insert records would be helpful. I would like to append using a text file or excel file from MS Access table Or import directly from Access to FoxPro. If you use insert from then you don't need drop part (or if autoinc is not in text file). 0,"field1", "field2" was a sample line from text file, it is not part of code. Insert from wouldn't help for memo, where would it come from in the first place Memo fields are not populated using "append from ..." a text file. ...Show All

  • .NET Development TCP communication problem

    I implemented a socket connection to receive data from another host. I only receive data; don't have to send any. I don't always get all the data. When my program first starts up, it usually works. Then the next time data comes in, I only get 80 bytes (the first text line), or I don't get the first line. I don't know if my program is wrong or if the host has a problem. I would like to know if the code below is correct for what I am trying to do. My code is below. Thanks in advance for any help. // fields in my class bool tcpMsg = false; int32 tcpPort = 2003; byte[] tcpBuffer = new byte[4096]; // class methods private void Listen() // open and wait for a connection { Socket listener = new Socket ( A ...Show All

  • Visual C# Opening and printing a word doc.

    How do you do it I.ve tried using a rich text box to display the Text and images, but first i had to convert the doc to rtf. which is going to take forever if i have to convert all my doc's. Help!! Much appreciated. Hi check this Sending Documents to the Printer The PrintThisFile method in the cShellExec class lets you send a specific file to the printer. The code fragment for PrintThisFile is: Public Sub PrintThisFile(FormName As Long, FileName As String) On Error Resume Next Dim X As Long X = ShellExecute(FormName, "Print", FileName, vbNullString, 0&, SW_SHOWMAXIMIZED) End Sub As with both the ExploreFolder and OpenThisDoc methods, the PrintThisFile method requires that y ...Show All

  • .NET Development Exception: DataTable internal index is corrupted: '5'. on ...

    Hi, I have a problem with bindingsource component in framework 2.0. I have a combobox bound to a bindingsource which is also bound to a dataset with 2 related tables and a datagridview bound to the same bindingsource. What I want to do is : When the selectedindex property of my combobox changes, the corresponding cell value must be changed in the datagridview. But although the value in bindingsource changes, datagridview does not display the new value. That value is displayed after I move the mouse over that cell and make it invalidate its region manually. Another error I caught is the one that you can see as the subject of my post. I do not know why i have that message when I try to change the property of ((DataRowView)mybindi ...Show All

©2008 Software Development Network