Software Development Network Logo
  • VS Express Editions
  • Visual C++
  • SQL Server
  • Smart Device
  • Visual J#
  • Visual Basic
  • Visual Studio
  • Windows Vista
  • Visual C#
  • Architecture
  • Windows Forms
  • VS Team System
  • Microsoft ISV
  • Windows Live
  • Visual FoxPro

Software Development Network >> Hatem Rabie's Q&A profile

Hatem Rabie

Member List

saydhu
Duncan Faulkner
Bill YU
Nabz
JoCa
kungpaokitty1
Marco Minerva
kcongdon
Rick M
Steve Hiner
Igor L
TDH
eyedealist
Stef_T
quacka
IraW
Mark Wienzek
Mika73
rockinthesixstring
cmatt2
Only Title

Hatem Rabie's Q&A profile

  • Visual Basic Can't update a dataset!

    have this code: Dim RowValues(2) As String RowValues(0) = AdUser.Text RowValues(1) = AdPass.Text RowValues(2) = AdTimes.Text UserPassDS.Users.Rows.Add(RowValues) UsersTableAdapter.Update(UserPassDS.Users) When I try to update (the last row), It says an error. The error is: System.Data.SqlClient.SqlException was unhandled Class=14 ErrorCode=-2146232060 LineNumber=65536 Message="An attempt to attach an aut ...Show All

  • SQL Server Saving the server report at a default location automatically

    I have created a server report that has been deployed on a server. I have written some code in VS 2005 that displays the report in a report viewer and automatically prints the report. Now, instead of printing the report, I want to save it at some default location. However, it shows me a Save dialog box for which the manual interference is required. I want to run the report with several parameters, one by one, and want to automate it. Can ...Show All

  • Visual C# Passing a buffer to a COM call?

    I have an external COM interface written in C++. The method I'm interested in looks like this in ildasm: .method public hidebysig newslot virtual instance void OpenChartDirect([in] string marshal( bstr) bstrChartName, [out] uint8& pbData, [in][out] uint32& cbSize) runtime managed internalcall { .override CHARTSERVERLib.INcxServer2::OpenChartDirect } // ...Show All

  • Windows Forms Customize Listbox Items

    Hi everybody, I have listbox object in my form. Now I want the first item I add to to be bold and the font color should be red. Then all the other items I add should be default. Is that possible If yes how If no, why not Thanks for your help !!! Sure! Use owner drawing! Set Listbox.DrawMode to OwnerDrawFixed or OwnerDrawVariable and paint the items yourself. Here's how . ...Show All

  • SQL Server setup.exe /qb REMOVE=ALL instancename=test

    Hello , I am using MSFT SQL Server 2005 (v 9.00) and have 3 databases listed under Database when I launch SQL Mgmt Studio These are: Deva, Devb, Test I have to UNINSTALL and REMOVE only the TEST instance. I did following: setup.exe /qb REMOVE=ALL instancename=test I launch the above from C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap> but it does NOT UNINSTALL that TEST instance... can anyone please help me on ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Updating textures with SetRenderTarget

    I'm working on the terrain rendering technique which involves displacement mapping. I have a couple of textures that are, logically, the mip-map of the terrain. Now, I have to update them all, from the biggest to the smallest, and to do so I do the following: device->GetRenderTarget(0, &oldRT); device->GetDepthStencilSurface(&oldDSS); device->BeginScene(); for (i = 0; i < levels - 1; i++) { // // Set the current texture as d ...Show All

  • Visual Studio Express Editions Problems installing the platform SDK

    I am having problems running the windows installer. (in order to extract the SDK) The steps I took were: 1)Download x86. version from web. Using web install. (I have a cable internet connection) 2)Go to the installed file and double click on it. 3)It opens and brings up windows installer. 4)Windows installer never opens. (I left my computer for about 20 min to see if it was opening slow).   That is the problem. In the e ...Show All

  • .NET Development representing XmlElement

    Hi,  I need to represent something like public struct MyStruct {  public string MyProp1;  public string MyProp2; } with the only intent to serialize its data into <a:MyStruct>  <a:MyProp1>...</a:MyProp1>  <a:MyProp2>...</a:MyProp2> </a:MyStruct> I can do it this way using struct or simple class, and providing something like ToString and manually create the xml string. ...Show All

  • Windows Forms vb.net application using Crystal reports won't deploy

    Hi, I'm having issues with an application that uses crystal reports. It simply won't deploy to a machine that doesn't have VS .net installed on it. The application is VB.NET based and works fine if I remove all the code related to crystal  ...Show All

  • Microsoft ISV Community Center Forums report won't run

    Hello all, I have a form that has a unbound field based on a query. Next to it, I have a command button to preview a report based on the selection of the unbound field. For example, a user selects a location from the drop down list. They click the preview button but it's returns a blank report. I have the exact same code on the same form to view a name selected the same way and it works perfectly. Can someone tell be why it doesn't work for loca ...Show All

  • Windows Forms ToolStripItems: how to duplicate?

    In my scenario, I have a context menu which should show additional sub-menus from loaded plugins. As I want to use the visual designer (not create the menus each time in code), my problem is how to copy some ToolStripItems from a ToolStrip menu to another. What's happening on simple copy (enumerating in first menu and adding to second) is that the items are removed from the source menu on copy (I assume the Owner changes so the item is automatic ...Show All

  • SQL Server Deliver to SharePoint

    Quite a while ago Brian Welker talked about Reporting Services WebParts (which are available now...) and a delivery extension for SharePoint. Is anybody aware of it I googled around and didn't find anything about that (besides Brian's statement)... Is there any other option to deliver reports to SharePoint (beside the "delivery to file system" and import/link it to SharePoint) Thanks, Currently Microsoft does not offer a way to deliver ...Show All

  • Visual C# Help to column cell width?

    Hello Here is a piece of my code in Visual C# 2003. private void listBox2_SelectedIndexChanged(object sender, System.EventArgs e) { foreach(Object o in listBox2.SelectedItems) { //My conn string works but is not here in the example string navn = listBox2.GetItemText(o); string query = "SELECT a_navn AS Navn FROM ansat WHERE a_navn LIKE '"+navn+"'"; MySqlDataAdapter adapter = new MySqlDataAdapter(query,conn); DataSe ...Show All

  • Visual FoxPro Strategies for Stoping non customers from using my software

    I am trying to come up with a simple solution to people who "borrow" my software from a friend.  I would like to have a 30 day period for trial use, then stop anyone from reinstalling the program again unless there is an unlock code. Any recommendations popson wrote: i ve 2 questions (1)Sir i haved developed an application on Visual Basic programming, i need a security that if i sold it out, i ...Show All

  • SQL Server Need a task that will zip a file prior to upload via FTP

    I have a text file I need to zip (compress) before uploading it via an FTP task. Do I have to use a third-party tool to do this Thanks. We have built task for archiving in Zip, GZip, BZip2, Unix, Tar. We also have task for secure FTP (SFTP). You may give it a try here: http://www.cozyroc.com/ Regards, Ivan ...Show All

©2008 Software Development Network

powered by phorum