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

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

jobo5432

Member List

-D-
George2
Joseph Stalin
Shiby John
ziad_dodin
TaDa
lagu2653
Burrough
muthuraja
Dvorak
shehz
cosminb
Atiz
Adminanup
Jubber
Alan Robbins
abzA
Nefer-Ra
Kees_de_Waard
Haizam
Only Title

jobo5432's Q&A profile

  • Visual Studio Express Editions save game progress

    hi! im not really new with VB, but im not a pro! lol any way, im in the middle of making a game, and i need some help! i need a way in which the *player* can save their game progress when ever they want, and then maybe later, come back to were they left off. now, i saw a few tutrials about this, but they were all txt files, were i need like a game file thing :), can anybody help me Gavin ok, really confusin! lol listen, im 14 ! ok lol could you possibly make an example, maybe along this : an input box pops up, *player* types their name in, form1 shows with label1 as the *players* name, underneth that, a button sayin "SAVE", *player* clicks that and their name is saved. *player* knocks their pc off, comes back ...Show All

  • Visual C++ Need help with Windows sockets

    I have written the following simple program that is supposed to just download a webpage from a webserver on my network. Can somebody please explain to me why this program does not work I used ethereal to capture the packets coming out of the Windows box and I noticed that the packet seems to be malformed! Thank you. #include "stdafx.h" #include <stdio.h> #include "winsock2.h" #pragma comment( lib, "wsock32.lib" ) // This will link to wsock32.lib void main() { // Initialize Winsock WSADATA wsaData; if (WSAStartup(MAKEWORD(2,2), &wsaData) != NO_ERROR) printf("Error at WSAStartup()\n"); // Create a SOCKET for connecting to server SOCKET ConnectSocket = socket(AF ...Show All

  • .NET Development Database data copy

    Hello, Don't know if this is the most suitable forum for my question but... i have 2 databases on the same pc.i want to query the first database and get some data as a result from more than one table.and using an application i would like to copy that data to another database in one table that i have created... how can this be done thnx in advance.... Hello again, sorry for not replying earlier.no i cant use sqlbulkcopy because i think it copy's data between one table from one database to one table to the other database.My data are produced from 3 tables at first database to one table at the second database. is there a way of copying data from one dataset that has data from database #1 to ...Show All

  • Visual C# Cross-thread problems with Backgroundworker

    Hi, all I am trying to use BackGroundWorker in my application since there is a time-consuming operation. There is an iteration in the time-consuming operation, for each loop, I need to show the result on labels on the form. However, cross-thread problems occur at this stage...So, I know that BackGroundWorker and controls on the form are not in the same thread, however, I do not know how to get the result from the BackGroundWorker and show it on the form. Some codes are shown below: private void Startbtn_Click(object sender, EventArgs e) {          this.backgroundWorker1.RunWorkerAsync(); } private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e) {   &nbs ...Show All

  • SQL Server how can I substract a SUM from a SUM?

    first, I am using stiored procedure and here is my table structure: [item_id] [int] IDENTITY(1,1) NOT NULL, [item_guid] [uniqueidentifier] [company_reg_number] [int] , [file_no] [int] , [visit_id] [int] , [item_code] [varchar](50), [item_price] [decimal](6, 3) [created_date] [datetime] [created_user] [varchar](50) and I have debit and credits in the same table but I want to get the difference.. my stored procedure to return the result is: USE shefa set ANSI_NULLS ON set QUOTED_IDENTIFIER ON GO -- ============================================= -- Author: <Author,,Name> -- Create date: <Create Date,,> -- Description: <Description,,> -- ============================ ...Show All

  • Visual Studio 2008 (Pre-release) OperationContract with List<Byte[]> Request Param

    Hi, I am developing a windows service hosting a WCF endpoint (wsHttpBinding) and using MTOM for buffered transfer. The service will receive a collection of photos and process them. However I continue to get Null references in my List of photos (List<Byte[]> photos ) on the service side, its like my list is always null. Service Code:----------------------------------------- IJobService: [ ServiceContract ()] public interface IJobService { [ OperationContract ] void SubmitJob( JobRequest request); [ OperationContract ] void SubmitPhotoTest( byte [] photo); } [ DataContract ] public class JobRequest { [ DataMember ] public List < byte []> photos; } J ...Show All

  • Visual Basic Applications designed for multiple users

    I am designing an application which would reside on one machine but would require access by any or all of the users who have a user account on that machine. So far, I have been unable to find a way of making the application work from more than one user account. I have tried publishing to a shared folder within All Users which works fine when I install it but doesn't work if I log off and then on again in a different account. The project uses SQL Server Express and I think the problem lies with this as the application screen appears but a timeout error is generated (I have doubled the default time before a timeout occurs as I had a problem sometimes with this within my own account). Is there a way around this or would the user ...Show All

  • SharePoint Products and Technologies InfoPath Forms do not open in a browser after contact control is added..

    I've added the contact selector to a form and wired it up as per the article link from a previous thread (thanks!). Now my form will not open in a browser. It is set to open in a browser in the publishing properties (enable this form to be filled in using a browser) additionally it is attached to a doc library in MOSS that is set to display as web page.. Any input would be appreciated! ...Show All

  • .NET Development Why the difference between Access Query Configuration and Tableadapter Query Configuration Wizard

    I have found that I can run a query using Access query builder works fine but the same query does not work in the "TableAdapter Query Configuration Wizard". Why is this Example: SELECT * from Rental_Agreement WHERE DateSerial(year(end_date), month(end_date) , day(end_date) - 5) = Date() This works in Acess 2003 but not in the "TableAdapter Query Configuration Wizard". I have a value of 3. Below is doumentation for the problem....... I enter : SELECT * from Rental_Agreement WHERE DateSerial(year(end_date), month(end_date) , day(end_date) - 5) = Date() And receive error message : Error in list of function arguments: ')' not recognized. Unable to parse query t ...Show All

  • SQL Server db_dtsadmin role

    Our DBA has given me access to MSDB on the SSIS service on one of our servers as db_dtsadmin. When I try to connect to the server using Integration Services in the connect drop down menu, I get the following generic error msg: connect to SSIS service on server 'xxxx' failed: access is denied. I'm told this role should be sufficient to give me access. Do I need other server access roles to use in conjunction with db_dtsadmin or are we missing something really easy here. Thanks. DBRICHARD wrote: Our DBA has given me access to MSDB on the SSIS service on one of our servers as db_dtsadmin. When I try to connect to the server using Integration Services in the connect drop down menu, I get t ...Show All

  • Windows Forms Do I need a Binding Source? Why?

    This has always kind of confused me. usualy, when I want to bind a DataTable to a DataGridView, I just say: somDataGridView.DataSource = dtSomeDataTable; that's it... works great. So my question is, why would I want to complicate things and bind my Datatable to a BindingSource, then Bind that to the DataGridView Thanks... This article will give you more information ...Show All

  • Visual Studio 2008 (Pre-release) New Window and STA problem....

    Is there a way I can execute the following code without making creating new method for it ( new PhotoView(int.Parse((ex.OutputParameters["LargeHeight"] as String)),int.Parse((ex.OutputParameters["LargeWidth"] as String)),title, image, description, tags )).Show(); I'm using the following code to start a new STA thread: Thread newWindowThread = new Thread( new ThreadStart(ThreadStartingPoint)); newWindowThread.SetApartmentState(ApartmentState.STA); newWindowThread.Start(); But instead of the method ThreadStartingpoint I'd like to somehow execute the already mentioned code in the same method where thre STA thread is started. Is this possible Ok, i have figured o ...Show All

  • Visual Studio Help needed in converting crystal report's .rpt files into .rep files

    I am working with Crystal Reports 10.2 that come bundled with VS.Net 2005. I want to know what .rep versions of a report are and how do I convert .rpt files into .rep. Is this conversion possible I would appreciate any feedback on this. ...Show All

  • Visual Studio 2008 (Pre-release) WCF shutdown

    I was writting one service with instance context mode is Single, and it has the following behavior. [ServiceBehavior(ConcurrencyMode = ConcurrencyMode.Multiple,InstanceContextMode = InstanceContextMode.Single)] I found that after some idle time i found that the service unloaded automatically, is there any way to fix this behavior, i am getting the following error "The communication object , System.ServiceModel.Channels.ServiceChannel, cannot be used for communications because it is in the faulted state." ------------------------------------------------------------------------------------- In .NET remoting i used to do the following to make the service run for ever. public class MyRemoteobect: MarshalByRefObject { ...Show All

  • Visual C# how to: simultaneously data transfer between two forms

    hello, i have a problem. i have two forms: Form1 and Form2 in Form1 i have label1 and button1. they both are created as public. in Form2 i have a button2. in buttun1's click event, i wrote: Form2 frm = new Form2(); frm.ShowDialog(); and Form2 opens. in the form 2, theres button2. in button2's click event i wrote: Form1 f = new Form1(); f.label1.Visible = true; in here, i dont want to close form2. i want both of them open. but when frm1 is not active, when i compile these codes, label1's visible doesnt change. can anyone help me in this subject please. its because you are creating a new instance of form 1 therefore you wont see the changes from the caller, form1. you need t ...Show All

©2008 Software Development Network