john1983lj's Q&A profile
Visual Studio Express Editions How To implement ListView with controls like "eMule Transfers list"
I'm looking for a ListView that include for each row an image box,checkbox,progressbar,label or textbox,combo box..ect.. Where can I find it Thanks thanks.....have u a sample code or sample project I even created a usercontrol !!! please heeeelp meeee !!!!! :) ...Show All
Visual FoxPro Speed issue
Hi I have an open table in VFP. I am using vb.Net to get the records from the table. I use the following connection string to connect to the open table. Provider=vfpoledb.1; Data Source=\\Commercial\Data; Provider=Microsoft.Jet.OLEDB.4.0; Data Source= \\Commercial\Data;Extended Properties=dBASE IV;" The open table has more than 3,604,393 records in it. When I give the following sql statement Sql = “select * from ordDet where 1=1 and comp_code = ‘01’ and Itemcode =’02’” cmd = New OleDb.OleDbCommand(Sql, gconnMDB_I) Dim rdDept As OleDb.OleDbDataReader = cmd.ExecuteReader() Do While rdDept.Read() dr = dt.NewRow() dr(0) = rd ...Show All
SQL Server getting row before in table
Im using following code to get a row from database, but how do I get the row before this row SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE PROCEDURE getMessage @username varchar ( 24 ), @ID int AS BEGIN SELECT Message FROM Messages WHERE Username = @username AND ID = @ID END GO And another question how do you get the row after the row Thank you. Paul. SELECT Message ,(SELECT TOP 1 Message FROM dbo.Messages M1 WHERE M1.ID < M.ID ORDER BY ID ASC) [priorRecord] ,(SELECT TOP 1 Message FROM dbo.Messages M1 WHERE M1.ID > M.ID ORDER BY ID ASC) [nextRecord] FROM dbo.Mes ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Here we go!!
http://www.microsoft.com/downloads/details.aspx familyid=21e979e3-b8ae-4ea6-8e65-393ea7684d6c&displaylang=en Just.. wow Downloading.. Thanks to everybody who brought us this ...Show All
Visual Basic Why does the Graphics Path shape not display correctly?
Hi pals, Yesterday i posted a very long thread on my drawing a Graphics shape. Let me be brief here: First of all, The path is filled and drawn with the right and bottom sides clipped. I don't know how to get around this bug. How can I draw it correctly so that the it fills and draws a border nicely without any clipping. Note: I am using a graphics path object here, not a rectangle( where i could use the inflate method) Secondly, after drawing the shape and assigning as a region to a control, the result is so crappy: jagged pixeled lines. When i don't do any region assignment, the drawn lines are smooth and nice(even though the right-bottom clipping still occurs). Please I really need your help on this. I have dived into GDI ...Show All
Software Development for Windows Vista How to record ISO image?
Does IMAPI2 provide the ability to record an .ISO file image to disc I've scanned through the documentation, but didn't see any references to ISO images. I apologize if I missed it. Yes you can do iso file writing with IMAPI2. This is limited to single session / disc at once. The iso image will substitude to the result image from the file system image object. You need to create a stream (look at SHCreateStreamOnFile ) and can simply write it with disc format2 data. ...Show All
Microsoft ISV Community Center Forums Building dynamic forms in Access
I need to make dynamic forms in access. For example i have a query that selects a user and 3 jobs he has. So the result in the query has 3 lines. Now i want for those 3 lines 3 different textboxes. Is this possible in VBA or not I already searched the help of access it self and i cant find anything about it. thx for your help in advance. query select SLAnr, SLAbeschrijving from SLA where SLAuser='userid1' table is like this SLAnr SLAbeschrijving SLAuser 1 beschrijving1 userID1 2 beschrijving2 userID1 3 beschrijving3 userID1 4 beschrijving4 us ...Show All
Smart Device Development [Pocket PC] Screenshot to png.
I've tried for the last 4 hours and someone in the irc said when all else fails go to MSDN forums. How do I click the: If (e.KeyCode = System.Windows.Forms.Keys.Enter) Then And have it save a screenshot to a .png. Seems simple but everything i find isn't supported function wise by compact framework. Right now all the things i do just create 320x240 black boxs. Thanks guys. (I would type more but gtg to work now). Back From work now. Okay so the program I'm dev doesn't use the clipboard at all so I have found some code that will save images in the clipboard. Only problem is there is no PrintScreen button that i can find on my pocket pc that will put it in the clipboard. So heres the code I just need help filling in the blank. Code: 'Code to ...Show All
SQL Server Cannot connect locally to SQL Server Express
Hi, I'm trying to connect to a SQL Server 2005 express on my local Windows XP Professional machine. I've searched the the MS fora and Google but all the answers I find relate to trying to connect to a remote DB, not local. I run the aspnet_regsql.exe program in the interactive wizard mode, and in the Select the Server and Database step when I click on the Database drop-down list an error box pops up: Connection failed Failed to query a list of database names from the SQL server. An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named P ...Show All
Visual Studio Express Editions Visual C# Express Edition-Daniel Teijo
-I am having problems with the download of Visual C# Express Edition. -From the Microsoft Website I was able to download “vcssetup.exe” (2.8 MB), Up to that point everything was alright. -When I tried to install it, the application showed two options: one of 300MB and the other with 55 MB. But….I have a dial-up connection, so while patiently waiting to complete the download (several times) of both versions within two consecutive days, an error appeared and the connections were shut down. -Also, I tried to download the software through the computer at my job, but I do not have the privileges to do such. -What would you suggest for me to do in this type of situation And would you be able to help me with this type of issue Thanks, Daniel ...Show All
Windows Forms How to generate pictureboxes from a loop?
I'm using vb.net with Framework 2.0. I want to generate pictureboxes from a loop. On every round a new picturebox is created with its own properties. The properties that I need are: name, location (x,y), size (x,y), bordercolor (transparent), sizemode (auto-size). How to do this For five different pictureboxes the pseudo-code could look something like this For i as Integer = 0 to 5 step 1 Dim picturebox(i) as New PictureBox picturebox(i).Name = pic(i) pic(i).location = New location (x,y) ... ... Next i Hi, not sure what you meant by autosize exactly, but you can try something like the following: For i As Integer = 1 To 5 ' Making five pictureboxes ...Show All
Visual Studio 2008 (Pre-release) Metadata Exchange Not Working In IIS?
I want to display the metadata similar to a wsdl. I read that you should address your service that is being hosted in IIS like so in order to get the metadata http://localost/myfirstservice/service.svc/mex . However I keep getting page not found. Here is my configuration settings in my web.config file: < system.serviceModel > < services > < service name = " MyService " behaviorConfiguration = " MEXGET " > < endpoint binding = " wsHttpBinding " contract = " IMyService " /> < endpoint address = " mex " binding = " mexHttpBinding " contract = " IMetadataExchange " /> </ service > </ services > ...Show All
Smart Device Development detect incoming call
Hi, I am new to vb .net. I would like to write a program to detect incoming call. Once the program detect an incoming call it will appear a pop-up box. I would like to know will i be able to do it and is there any sample code. Thanks Flarestar Here is a sample: public partial class Form1 : Form { private SystemState phoneIncomming = new SystemState ( SystemProperty .PhoneIncomingCall); public Form1 () { InitializeComponent (); phoneIncomming.Changed += new ChangeEventHandler (phoneIncomming_Changed); } void phoneIncomming_Changed ( object sender, ChangeEventArgs args) { MessageBox .Show ( "Incomming Call" ); } } ...Show All
Visual C++ Using properties/methods of Win form controls beyond scope of proj namespace
Hi all, Possibly a very simple answer - but no documentation has revealed the answer so any help would be very useful. I have a Windows forms application project with a few controls, built with the form designer. In the header file for this form (the usual "Form1.h") I have the namespace named after my project and within it, the usual managed class defining the form and its controls. My question is, if I need to access the properties and methods of these controls from beyond the scope of the namespace, how can I resolve scope to access the form and its controls Ideally this would be possible from a separate source file, but essentially the methods and properties of a control on the form must be accessible from outside ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Debugging Problem Windows Vista x64
Hello, I've got a problem with compiling a "Game-Project" in XNA Express. The error message is: "Die Datei oder Assembly Microsoft.Xna.Framework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f48fa5f25d27e8ff oder eine Abhangigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden." Translated it means something like "The file or assembly Microsoft.Xna.Framework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f48fa5f25d27e8ff was not found. There was a try to load the file with a wrong format." ( Bad bad bad English, I know ;) ) I googled for informations about the Problem and I found some about a problem with x64 systems. There was offered a solution with the csproj Files and " <PlatformT ...Show All
