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

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

Karrar

Member List

tmiller3
Robert Kozak
bbaldwinwa
KaiserSozeTR
simon chow
Harshil_Patel_5326c0
Fuzzy6280
Annihil8
Karan M G
m3rLinEz
New-Bee
Tom bernard
Gagand
Bartosz
davser
ducmis
mendi
Bjoern.Greiff
Jim Mc
Misbah Ahmad
Only Title

Karrar's Q&A profile

  • .NET Development exe problem...

    hi.. when i try to run my application on another computer that doesnt have the .net visual studio installed on it, the exe does not run!! knowing that .net frame work 1.1, and 2.0 are installed .. this happened only after i included directX.capture.dll and DShowNet.dll.. dunno if this is related but i get some worning saying that using UCOMIMONIKER is obsolete.. and the exception message is "No device of the category".... it happens here public static void Main(string[] args) { try { Application.Run(new SocketTeacher()); } catch (Exception ex) { MessageBox.Show("line 113\n"+ "\n"+ ex.InnerException + ex.Message + "\n" + ex.Data + "\n"+ ex.S ...Show All

  • SQL Server Unit Testing for SSIS - to test or not to test?

    Now that we have a good programming model in SSIS - the question is whether to write automated unit tests for your packages, and would it generally be a good idea for packages Also - if yes to write tests - then where to find more informations regarding How to accomplish that ...Show All

  • Software Development for Windows Vista Errors in winnt.h file using visual c++ 2005 express edition and mar. 15 sdk

    Hello. I get the following errors when I try to include winnt.h in my code. I tried using the newest sdk as well as the previous release, and both files seem to generate the same errors. This must be a common problem, but I haven't seen the answer. I'm including stdio.h, xlcall.h, windef.h and winnt.h in my code. Maybe I need to include another header. Any help would be greatly appreciated. Thanks. C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\winnt.h(3857) : error C2146: syntax error : missing ';' before identifier 'ContextRecord' C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\winnt.h(3857) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-in ...Show All

  • Windows Live Developer Forums MySQL, VE API, and around 1Million places to display

    Man do i need help. i started off and got to this point and realised i was going in 2 opposite directions. i have a simple VE Map page using HTML/JS. i also have a PHP page that Queries a MySQL server and returns results. all i am looking for is how i would be able to do the following: allow a person to cruise(browse) the map in my simple page, and have 4 buttons to the side that would be toggled on/off to show 1 of 4 categories in my MySQL DB. obviously i realised with PHP it's server side and couldn't update on the fly. i am using a linux provider for this, which means no ASP.NET or any other gr8 MS jazz. the layout: MySQL-DB (name,address,type-of-place, lat, long). i currently dont have lat and long info (i'm guessing thats what everyon ...Show All

  • Visual Studio PLK Request taking a long time

    Hi, I applied for a PLK yesterday at 11am. I have still not recieved a reply regarding the application. I was wondering how long it usually takes Thanks. Ben. If all else fails, send me an email (just remove the '.online' portion of my email address), and I can check on this for you. The email that's supposed to be sent out, apparently doesn't always work. The program manager checks the request queue several times a day, so if you don't see an email with your PLK within 24 hours (1 working day), definitely post here, or send me a note. P.S. We are working on getting that site fixed (redesigned) so that you can readily retrieve your PLK and review the data you initially submitted. I don't h ...Show All

  • Windows Forms How to wrap the text in Check boxes?

    Hi, I am using .Net 2.0.I am using check boxes.However the text of the check boxes is large.It requires the control (on which the check box is placed) to be expanded in order to see the complete text of the check box. Is there a way to wrap the text of the check box so that after certain length we can have the text get displayed on the next line Thanks, nhd You can simply use newline characters in the checkbox text property to make the caption appear on multiple lines. Something like the following in VB CheckBox1.Text = "Check" & vbCrLf & "Box" & vbCrLf & "1" ...Show All

  • Visual Studio Team System Starting with TS builds

    Hello We have recently migrated all .NET projects from VisualSourceSafe to Team Foundation and we are quite happy with the results, so we are continuing in our path towards TS-TFS. The next step is builds. We currently use MSBuild scripts for developers and for automatic builds. I am trying to understand how to "migrate" these scripts to TFSBuild. I am very confused because I have seen that TFSBuild is based on MSBuild and that the TFSBuild.proj files generated in VS look exactly like MSBuild files, but nowhere is it explained how to "migrate" my current scripts to the new VSTS-TFS environment. It should be really simple if one tool is based on the other. I get the impression I'm missing something. Can you give ...Show All

  • Windows Forms View images in a Image List - List View

    Hi, I've a folder in my disc with images, and I'd like to see all the images in my application. I'm using a List View with an Image List, it seems to work, but it takes a lot of time to charge all images in the view. What can I do I think it can works more faster My code: public void CargarImagenesEnVista() { ImageList IL_Imagenes = new ImageList(); IL_Imagenes.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit; IL_Imagenes.ImageSize = new System.Drawing.Size(16, 16); IL_Imagenes.TransparentColor = System.Drawing.Color.Transparent; LV_Directorio = new ListView(); LV_Directorio.Visible = false; LV_Directorio.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.Anch ...Show All

  • Windows Forms Why isn't CellStyle Format preventing alpha characters in Number format column?

    Hi all, I'm a bit confused here. I set the CellStyle Format for each column in my datagridview to be: 1) Number 2) Date 3) Currency 4) Just Text. So why are letters allowed to be typed into the Number column, or the date column If I'm using the wrong property, then what would be the correct one I don't want to use validation - b/c then it's too late. I want to prevent a non-legal character from ever being written into the cell. Thanks. There is a "MaskedTextBox Custom Cell" sample Here , this custom maskedTextBox cell can do what you want. ...Show All

  • Smart Device Development How to export and register dll in the emulator

    I have three dlls. I have a project which call some functions of these through [ DllImport ( "my.dll" )] . When I run my program it doesn't find this dll on the emulator so through exceptions. I want's to export and register dll in the emulator. How Can I do that With .NET exe, you shouldn't have to register the dll's to get them working. Copy the dll's to the executive location with the ActiveSync. ...Show All

  • Windows Forms Problem with value DataGridViewComboBoxCell

    In VB 2005 Express I have a problem, which completely do not understand. I use a DataGridViewComboBox in a DataGridView. When I change data and save it, I have no problem. But when I close the form I a repeting error, being: System.ArgumentException: DataGridViewComboBoxCell value is not valid. Can anybody help Thanks in advance, Simon Right now I'd say that you'll want to remove the autosizing in the grid's dispose event or in the form's closing event.   Can you file a bug for this This will help us identify what is going on here.   thanks, -mark DataGridView Program Manager Microsoft This post is provided "as-is"   ...Show All

  • SQL Server How to join 2 datasets without sorting

    Hi, In one of my packages, I have join data from 2 data sets. The problem is 'Join' requires both dataset to be sorted and I can't sort one dataset without 'sort' transformation. The real problem is since I have to sort 65million records, the sort operation sucks always. The other option is using 'Lookup', but since I have to do 'Range Lookup', it is taking hours and hours to process less # of records. My question is, is there any other way, I can do join of 2 datasets without sorting Timothy Tim wrote: Just curious as to why we need to sort it when I don't really need it to be I don't necessarily care for Merge Join I could be happy with Nested or Hash. Any join operation requires a sort. This is no ...Show All

  • .NET Development Updating a DB and getting an id

    Hi, I've a little problem of "speed" I think... I'm writting in a table, and after this, I try to read the ID that is assigned to ne new row in the table.. But I suppose that I read so much faster and the row isn't still wrote. Here is an example: CadenaSQL = "INSERT INTO Modul (Etiq, Num, Tip, idER)" CadenaSQL = CadenaSQL & " VALUES ('" & ER(IndexER).Modul(i).Etiq CadenaSQL = CadenaSQL & "', " & ER(IndexER).Modul(i).Num CadenaSQL = CadenaSQL & ", " & ER(IndexER).Modul(i).Tipusl CadenaSQL = CadenaSQL & ", " & ER(IndexER).idER & ")" If Not ExecuteSQL(CadenaSQL) Then MsgBox("Errorr") End If CadenaSQL = "SELECT idModul FROM ...Show All

  • Visual Studio 2008 (Pre-release) Treeview

    I need some code sample to reorder tree nodes of a treeview in .net 3.0 Can anyone help Thanks, Shivali ( shivali.sadavarte@tcs.com ) ...Show All

  • Windows Forms Mage Commandline error with .deploy files

    Hi! I'm creating application manifest manually using mage.exe. If I run mage.exe with the original files (exes and dlls), everything works fine, but as soon as I change the extensions adding .deploy (i.e. xx.dll.deploy, xx.exe.deploy), it throws a bunch of warnings like: Warning MSB3110: Assembly 'xx.dll.deploy' has mismatched identity 'xx', expected file name: 'xx.deploy' The command line used is: mage -New Application -ToFile program.exe.manifest -Name "MyProgram" -Version 1.0.0.0 -FromDirectory 1.0.0.0 When I look at the generated manifest, the problem is that mage wrongly assigns the "codebase" attribute at element "dependentAssembly" Any suggestions is there another command line flag ...Show All

©2008 Software Development Network