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

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

martok

Member List

Jassim Rahma
ron2464
fscarpa58
doughboy
Andrew Greatorex
longwood12345
gadi_bez
Albion Simon
rxg
Fistandantilus282303
Andrew Stanford
gmaenrile
Medes_
Davidjr1
Jartech
MA2005
Wendy_B
AdrianGodong
Joe Albahari
MMEZIL
Only Title

martok's Q&A profile

  • SQL Server creating a child row with two parents? (in one column)

    Hi! How can I make a relation that would let me relate an employee to two departments There is a table with emloyees and each one works in a department and there is a foreign key relation in the child (employees) table to the parent (departments) table. So can an employee work in two departments (it's not impossible to imagine, is it ) And how would I retrieve all the employees of a department Or in other words, if I were working on some kind of software for my local supermarket and they need to keep track of all bills they ever gave out. I would make this products table and this bills table. Then I would create a foreign key column in the products table and fill it with bill_ids from the bills table and make retrieving bill items a simp ...Show All

  • Visual Basic ActiveX Control

    I have a problem on using ActiveX controls that I have been struggling with for quite sometime and just see no way out. Your help is much appreciated. I am trying to use ActiveX from my VB application to connect to the external application which does support ActiveX controls. This external application has provided a library of ActiveX events and methods for this purpose. In my VB application, I have included this under the 'Components' of the tool box as "TWS Control". I include the 'TWS Control' in my VB's custom-built window. The window contins details to seek connection with the external application. In my VB application, I declare the ActiveX library, at the beginning of the code, using ...Show All

  • Visual Studio Team System Can't Manage to execute DTS Package in ASP.NET

    I have a very simple DTS package which export a table into a text file. Running the package from Entreprise Manager doesn't cause any issues. However, when running the package from ASP.NET code, the code is being executed with no error but the objDTS.execute doesn't not sent the txt file. I am using the same userId, password as in Entreprise Manager. Please help!!! In your reply, please considerer that I do not have the admin rights. Thanks in advance. Here is the code I use: Imports DTS Public Sub btnExecutePackage_Click ( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExecutePackage.Click Dim objDTS As New DTS.Package T ry objDTS.LoadFromSQLServer("btn000136414&quo ...Show All

  • Visual Studio Express Editions Scan my files ? - How do i do ?

    How do i do to scan my files and show in textbox1... Example: Scan files which i want : "abc.exe"; "abc.dll"; "abc.ogx"; "abc.txt"; etc... If you find those files, show in textbox1 . And we create a new button with name "delete" because i want to delete files in textbox1 (delete files form textbox1 and computer) Please post the code well it will be hard to do. you pretty much need some algorithm to scan for viruses and what not which is not easily done. There is no "set" algorithm to do this, you will have to create one. Do some research about how to detect files which could be infected. It's something that's not easy to learn and not easily told. ...Show All

  • SQL Server How to display a list with many columns on two pages?

    I have a list with twenty columns. I would like to split the list on two pages. On the first page, i would like to display columns 1 to 10 and on second page i would like to display columns 11 to 20. I tried to use a very large table object, but i don't manage to display the data correctly : the columns on the second page are aligned on the left with no margin. If i put a blank column on the second page, in order to have a margin on left, the data are aligned on the right with no margin on the right. Does anybody know how to split a list on two pages Thanks. ...Show All

  • Software Development for Windows Vista How can I get Workflow Status from Tracking DB without using SqlTracking and WorkflowStatus?

    How can I get Workflow Status from Tracking DB without using SqlTracking and WorkflowStatus property, but by select  statement from DB Here is some tsql code to get the most recent status value for each activity in a workflow (just change the hardcoded workflow instance id or move the code to a proc with workflow instance id as a parameter).  Activities that have not yet executed (or will never execute, for example in a branch that is not executed) are listed as 'Initialized' and the Context values are null.  Hope this helps. Thanks, Joel West MSFTE - SDE in WF runtime and hosting This posting is provided "AS IS" with no warranties, and confers no rights   DECLARE @Workflo ...Show All

  • Software Development for Windows Vista Where is the Application database to be installed?

    Hey all, According to the Windows Vista Software Logo Spec 1.0.doc ( Version 1.0.0006 ), Item 2.3 "Install to Correct Folders": Applications should be installed to Program Files or the user’s AppData folder by default. For per-machine installations, user data must be written at first run and not during the install. Since the install potentially elevates to a different user account during the per-machine install, there is no correct user location to store data at install time. Our multi-user application is intended to be installed "per-machine", so any user of the machine (or network) could share the application data. That said, can anybody explain in plain English, where should the application ...Show All

  • Visual Studio Express Editions Ending a Sub

    Hi there, I have these IF statement and after it finds the first one which is true I want it to stop the Whole Sub. Thanks, AliQ Another alternative is: Return or, if it's a function: Return {valueToReturn} ...Show All

  • Visual Studio LocalReport Error - A data source instance has not been supplied for the data source

    I have just installed VS 2005 RC. Tried using the LocalReport control using the exact sample code provided in the help for the Render method. I keep getting an error during the LocalReport.Render method call - InnerException = "A data source instance has not been supplied for the data source". The dataset and table supplied is valid as it works with the Reportviewer control. Is there something I am missing or is the sample code wrong The key is to use the Reset method of ReportViewer. ReportViewer1.Reset(); I put it above the LocalReport datasource clear/add and it worked! Took a few hours to find this out! ...Show All

  • Smart Device Development keybd_event() drops duplicate characters

    To All, I’ve written a program which takes the input from a barcode scanner and sends it as a keyboard wedge to any textbox that has focus. I’m using keybd_event() to send the characters, and the program works well, unless I have duplicate characters in my character array. For example: FQT-123 in my array displays just fine in the textbox. However, FQT-100 will display as “FQT-10” Or “Q6335-10009” will be read out as: “Q6334-1009” or sometimes as “Q634-109” I’ve tried to remedy this by throttling the FOR loop that iterates through the character array with a sleep(50) for (uiLoop=0; uiLoop<uiCount; uiLoop++) { Sleep(50); keybd_event(bOutput[uiLoop], 0, KEYEVENTF_SILENT, 0) ...Show All

  • Windows Forms Graphics are being erased by other windows or off screen movement...

    I have am working on a program that monitors the download speed of ones internet connection and draws the speed to a graph. The graph is a simple line graph that is drawn using GDI+. The graph is updated in the WebClients DownloadProgressChangedEventHandler. The problem is that when I move a window or move the program off screen, the graph, or the portion that was covered or went off screen gets erased. I have tried doing gc->Save(); (gc=my graphics) but that has not done anything for me. Here is my entire code: (Note that the timer tick event, "UpdateGraph" doesn't do anything, that is fine) #pragma once namespace iDT { using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using names ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Is DirectX9c realistic for all my UI needs?

    I am currently wanting to use the DirectX 9c UI for all of my UI needs in my game. Like using a MultiListEditBox for a complex trade window tracker editor and also an inventory being able to drag and drop 3d images of my items. Is it realistic Do I need to wait for XNA and how much would it cost I would like to use it for free but if not willing to pay a few dollars. Do I have to use something else like CEGUI or something else Thanks Neither DirectX nor XNA provide any UI libraries. The DirectX SDK has sample UI components in native and managed code, however the code is part of their game template library and tough to extract just the UI elements without using the rest of the library. CEGui, and other ...Show All

  • Windows Forms How to make Invoice Form

    By using VB.net How I can design Invoice form Belongs Customers Thanks and waiting your replay you create it the way you wish. To have an invoice form to be printed out, check out the printdocument control in .NET 2.0: http://windowssdk.msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx The invoice form will of course be populated with the data you wish to be populated with. The question is a bit too general/large to explain but I hope that at least the print invoice will answer part of your question. ...Show All

  • Visual Basic FTP server question

    I need to retrieve jpeg's from a server. Let's say the ip is \\123.45.67.89 This server has say 200 jpeg's on it. When I double click in my listbox the name of the jpeg I'd like it to go out and get that file from the server and place it into a picturebox. I have this working locally. Thanks Thanks Spotty, that worked ; however, is there a way I can load it directly into the picturebox without having to save it to the local disk first ...Show All

  • .NET Development Making an asynchronous call to a webservice method from C++?

    Hi, When I add my web service to my C++ project, it seem to only generate one synchronous call for each method. I do not see any asynchronous calls which I can make. This does not seem correct, as I can normally pass a callback function to the asynchronous method when importing the web service to a C# project. Am I missing something ...Show All

©2008 Software Development Network