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

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

Messs17

Member List

Peter Doss
Magnus Müller
Jamie Thomson
Indirani
zensunni
POnfri
jonathannah
E Davis
microsoft_programmer
computerbill
bahaa_sa5
RichLeyshon
Qingbo
rKarthik
C#Student
Andre's
Rod454654
Melvin McClurkin
Bhaskar Sarma
MaceWindu
Only Title

Messs17's Q&A profile

  • Smart Device Development change the vmid and mac address in a state-save file

    Hi All i assumed a state-save file has a vmid and mac inside, right then if load a state-save file on another machine, there will be some problems. so can i change the vmid and mac address of a state-save file or is there some other way to fix that Thanks in advance Terry Sorry, but there is no way to modify the MAC address or VMID in a savestate file. You can launch the emulator with a unique VMID value via the "/vmid" switch, which will guarantee that no other emulator instance will collide on that value. For networking, it's best to uncheck the NE2000 option before doing a savestate. Barry ...Show All

  • Visual C++ _except_handler4 gone on x64?

    Hello, i'm trying to port an 32-bit app to x64 but it seems the default c exception handler isn't available on x64, so the code below compiles/links fine on win32 target, but i get this linker error: error LNK2019: unresolved external symbol _except_handler4 referenced in function wmain when compiling for x64 #include "stdafx.h" #include "windows.h" #define VC_HANDLER _except_handler4 //C's default exception handler EXCEPTION_DISPOSITION VC_HANDLER( struct _EXCEPTION_RECORD *ExceptionRecord, void * EstablisherFrame, struct _CONTEXT *ContextRecord, void * DispatcherContext ); int _tmain(int argc, _TCHAR* argv[]) { void * cpp_hdlr = VC_HANDLER; return 0; } Ah, looking throug ...Show All

  • .NET Development Does format file for bulk insert allow mix of native and character format?

    I have a module which require me to import big amount of data. I believe that the native format data files with format files will be the most efficient way of implementation. The problem arises when I need to import datetime and decimal(numeric) fields because I don't know their internal format or how to convert to this format from strings or CLR datatypes. So if the answer to above question is positive I can partially resolve the problem, if negative I will have to use the character format. Unless you can educate me on the convertion to the SQL server internal formats of datetimes and decimals from the CLR types. I am trying to programmatically produce a BCP like exported files of native format(it means without type convers ...Show All

  • Visual Basic deleting a record from a sqlexpress db

    Hi I am using the code below to delete the current/active record from my Sql express db If (MsgBox( "Are you sure you want to delete this record " , MsgBoxStyle.YesNo) = MsgBoxResult.Yes) Then BindingSource1.RemoveCurrent() BindingSource1.EndEdit() End If This does remove the record. However if I close the app and go back into the app the record reappears How do I get the app to permanently delete the record without it reappearing I have tried placing a save button on the form to try and save after deleting. code below Me.LaheySerTableTableAdapter.Update(Me.Database1DataSet4.LaheySerTable) This doesnt save and gives the following error.. Update requires a valid DeleteCommand when pass ...Show All

  • Visual Basic VB.net / Access problem

    Dim Dataset1 As System.Data.DataSet Dim Adapter1 As System.Data.OleDb.OleDbDataAdapter Dim MyConnection1 As System.Data.OleDb.OleDbConnection MyConnection1 = New System.Data.OleDb.OleDbConnection( _ "provider=Microsoft.Jet.OLEDB.4.0; " & _ "data source=C:\van3\VANDATA.mdb") Adapter1 = New System.Data.OleDb.OleDbDataAdapter( _ "select * from Calendar", MyConnection1) Dataset1 = New System.Data.DataSet Adapter1.Fill(Dataset1) MyConnection1.Close() Console.WriteLine( Dataset1.Calendar (1)._Date) Dim LastDate As Date = Dataset1.Calendar.Rows ( Dataset1.Calendar.Rows.Count - 1).Item("Date") how do i correct the underline parts how ...Show All

  • SQL Server Strict Transaction Nesting Bug with CLR

    Dear all, I am constantly running into this error when calling CLR functions from triggers (even when the triggers are CLR functions themselves): The context transaction which was active before entering user defined routine, trigger or aggregate "[name of CLR sp]" has been ended inside of it, which is not allowed. Change application logic to enforce strict transaction nesting. However, there is no cyclic nesting going on here. In fact, the error only appears when the CLR function is writing to the database. Only executing SELECT statements inside the statements doesn't freak out the SQL server (2005 SP1 in my case). I am not ending any transaction at all. This error shows up in many places: as exceptions from ASP.NET web pages, ...Show All

  • SQL Server Process AS2000 DataBase from SQL2005 Server Agent

    Hi! Want to process AS2000 DataBase that is located on one server from 2005 ServerAgent that is located on other server. SQL2005 Integration Services allows processing only of 2005 OLAP Databases. I could send an xmla-script to as2000 from a task o ServerAgent2005 but I've read that AS2000 doesn't support xmla scripts with process command. How could I do this without migrating 2000 databases to 2005 Thank you in advanced. Mastroyani . The problem is, that on AS2000 machine there's only AnalysisServices installed (No SQL Server and also no DTS). Are there some other possibilities ...Show All

  • Visual C# Having only one process running

    Basically, this is what I am trying to do: When a user runs the app, the first process is created, however, when a user then attempts to run the app again, rather then a new process be created, I want the the new process to recognoize that there is a process already running, and to tell the existing process to spawn a new window (form) and then die. At this point the existing process spawns a new window (form) and life goes on. I believe the basics of spawning the windows (forms) are through the use of Threads, and I have the basics of the forms being created correctly, and the and keeping the process alive through the life of the different threads, but, I can't figure out what I need to do to get the 2nd process to not run and instead use ...Show All

  • SQL Server list of Databases

    hello anybody now i need to find how many Databases in my local SQL server (programatically).i know i have 8 databases is there but i need to print each and every database. can anybody help me. thanx kiran. The problem with sp_databases is that it displays the system databases, together with Northwind and Pubs. I use this to identify my databases: USE master GO SELECT name FROM sysdatabases WHERE dbid>6 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. winnt.h errors?

     I have just linked Direct X 9 to the new of Microsoft Visual Studio 2005 Beta 2. Trying to compile a program i know that works under Microsoft Visual C++ 6.0 gives me the following errors: c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(222) : error C2146: syntax error : missing ';' before identifier 'PVOID64' c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(222) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(5932) : error C2146: syntax error : missing ';' before identifier 'Buffer' c:\program files\microsoft visual studio 8\vc\platformsdk\include ...Show All

  • Visual Basic SSH, VB.NET and Multi-threading

    I'll start with my question and a brief bio: The question is, "Can anyone assist me in multi-threading this " Bio: I'm still new to VB.NET. A while back, we had a need to create "something" that would SSH to multiple servers, run a command (or series of commands) and return the results. The code below is what I came up with. In regards to the question I posed, this app runs on a server with multiple CPUs and plenty of horsepower. The application kicks off Plink which is a command line utility that comes with Putty. Works great...but, it is slow. When I say multiple servers...I'm talking about more than 15...it executes Plink.exe, runs the command, returns the results, executes Plink.exe, runs..., ..., ... Ad ...Show All

  • Visual C# updating dataset

    Hi friends, i am writing text from c# into text file,I use following code : private void Button1_Click(object sender, System.EventArgs e) { StreamReader fp; DataSet1 ds =new DataSet1(); DataRow dr; try { fp = File.OpenText(Server.MapPath(".\\upload\\") + "test.txt"); string info = fp.ReadToEnd(); string[] arInfo = new string[4]; char[] splitter = {'|','^'}; arInfo = info.Split(splitter); for(int x = 0; x < arInfo.Length; x++) { Response.Write(arInfo[x] + "<br>"); dr = ds.Tables["Sample"].NewRow(); dr["username"] = arInfo[0]; dr["password"]=arINfo[1]; ds.Tables["Sample"].Rows.Add(dr); ds ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Hosting an XNA Game in a WPF Application

    I was wondering if it possible to host an XNA Game within a WPF Application. I played around with the idea a couple months ago, hoping to use the same method one would use to host a Windows.Forms application within a WPF application, but I was unsuccessful. Does anyone know of a straightforward way to do this, if it is indeed possible I realize there are 'airspace' issues that would prevent me from creating a WPF interface that would overlay the XNA content, but I can live with that. I'm developing a 2D turn-based strategy game, and at some point I would like to add a 3D tactical combat system. I'd love to do this with XNA. Cheers, Mike I wonder if there would be issues with XNA and WPF vying for GPU ...Show All

  • SQL Server Dynamic capabilities with Parameters

    Hello all, I have a winform application, where in we get the parameters from the reporting service and we display them in a panel for user's to input their criteria. So far everything worked good, but now we have a requirement wherein dynamic functionality is needed. For Example: Based on a selection of a combobox value, we want the other control to be enabled or disabled. Also we want default value of a control to be calculated based on another control's value like .. if user enters value "1" in textbox1 then texbox 2 should have default value of "6". (Textbox1 + 5).........and mix and match of such capabilities. The Question is........IS IT POSSIBLE and if yes...HOW!!! Not a problem, Okay ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Depth?

    I'm a bit confused about the whole depth buffer/stencil/z buffer thing. Does anyone have any resources that explain these concepts and/or how to use them Currently, I'm sorting my objects manually, and then rendering from back to front. Is this the optimal solution, or can the GPU/API do this for me I'm working in 3D, if that helps. Rendering back to front is necessary if you have transparency so that further layers aren't obstructed by nearer ones. In this case though you can draw the nontransparent objects in any order - the transparent ones are the only ones that need to be sorted and drawn last. If you have a lot of overdraw, such as when you're in a first person shooter with lots of walls, sorting front to back is optimal because ...Show All

©2008 Software Development Network