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

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

ahmedilyas

Member List

Helio Gama Faria Filho
DzheiZee
ThomasAG
Johnny1966
goh6613
JeroGrav
GrandpaB
Taya Cool
Vijay R
cgraus
roychoo
SOAC
Ted.
Oliver Berris
Mnd1
poiuytrewq
Jamie Thomson
clay.routh
Sanjukta
AlexBB
Only Title

ahmedilyas's Q&A profile

  • .NET Development Display data retrieved from a datasource in a label

    Hi all, can someone tell me how to display some data from a datasource into a label control Thanks What kind of DataSource are we talking about (Afaik there is no such class... or interface) this.label1.Text = dataSource.SomeProperty; this.label1.Binding.Add("Text", dataSource, "SomeProperty"); .. ...Show All

  • .NET Development COM Event not handled

    I use one component that represents DHCP server. When I make a new project(windows form) and import component it works ok. But I when I include it in my existing(not small) project events are not handled.(They handled one time from ten or so with no code changes) I tried to clean out my project and found that there is some dependence with dataSet I am using. When I completely remove dataSet events seems to work. 1) Maybe your object is garbaged collected. This might be the case if you have a COM object as local variable (or in a class that is garbaged, or a function that returns an object which is called on a global class). In this case, some of your event should work, and then stop to work when the ...Show All

  • SQL Server Casting...

    I've got an ftp task that will be downloading a couple of files each night. today they're called blah20060830blah the date value in the middle changes each day. I'm trying to adjust this value with an expression. The expression doesn't want to cast my getdate function into a string that this property will accept. I know i'm missing something stupid. Thank you Sorry the expression (DT_STR) GETDATE() generates this: Attempt to parse the expression "(DT_STR) GETDATE()" failed. The expression might contain an invalid token, an incomplete token, or an invalid element. It might not be well-formed, or might be missing part of a required element such as a parenthesis. I'm no genius when it comes to m ...Show All

  • Visual Studio Building a web form programmatically

    I am fairly new to the extensibility realm. I think it is a great tool but I have run into some issues. I am working on an add-in that will generate a basic application based on a database. Currently, the tool has no problem generating the necessary classes and thanks to some of the posts on this forum I have figured out how to add the code to App_Code folder correctly. The problem that I am trying to solve is to create the web form programmatically and then populate it with controls. I can dynamically generate the web form but I can not figure out how to add controls to the page. I would like to have the application write much of the codebehind logic to tie to the classes that the system generates also but until I can figure out the ...Show All

  • Visual Studio Express Editions "the file is not a valid win32 application" what should i do?

    i have installed the visual webdeveloper before and it was working well, then i had to remove it because i was having a problem with my laptop and had to uninstall some programs. now when i try to download it again i get an error message sayint " this exe file is not a valid win32 application". anybody knows what i should do..i really need to use it a.s.a.p where are you downloading it from perhaps you would be better to download and burn to CD, the full ISO image http://msdn.microsoft.com/vstudio/express/support/install/ ...Show All

  • Internet Explorer Development IE7 and page-break-before

    I have some code that uses page-break-before: always that works fine in IE6, but in IE7, the page-break-before is ignored. Was there a change in this behavior that I have not seen documented I also am having this issue and was unable to get the solution provided above to work. I am using the page-break-before style within a table. stOutput = "<table width = 100% style='page-break-before:always' border=0 cellpadding=4><font size = '1'> <tr><td style='font-weight:700;font-size:20' align='center'colspan='12'>" & left(stclient,5) & " &nbsp;&nbsp;&nbsp&nbsp;&nbsp;&nbsp " & stClientName & " &nbsp;&nbsp;&n ...Show All

  • SQL Server Service Broker doesn't produce what I expect [Please Read]

    Hi, I made a simple service broker code that is: -- step 1: Enable Broker use master alter database AdventureWorks set enable_broker go -- step 2: prepare use AdventureWorks go create schema CustomerService go create schema EmailService go -- step 3: Message Type create message type [//AdventureWorks/Sales/CustomerDetails] validation = well_formed_xml go -- step 4: Contract create contract [//AdventureWorks/Sales/SendCustomerDetails] ( [//AdventureWorks/Sales/CustomerDetails] sent by initiator ) go -- step 5: Queue create queue CustomerService . NewCustomerQueue go create queue EmailService . NewC ...Show All

  • Visual C++ How to access a program ported from C from other .net project?

    Hi, I am pretty new to C++ .Net and I need help on how to let my .Net programs accessing functions ported from a C program. What I have now is a solution that contains two projects. The first is a C++ .Net class library project and the second is a VB.Net project (doesn't have to be VB, it can be any other .net languages). What I need is to have the VB test program call functions from the C++ program. The C++ project is created by porting an existing C program. What I did was that I created a class library project using the C++ wizard. Then I added my existing C program (without any change at all), MyLib.c, into the project and removed all those generated files that I don't need. After fixing some issues, now I have the project co ...Show All

  • Visual Studio Express Editions DGW error on edit mode because of date

    I am using an Access db and I show the records in one dgw. The problem is that two of the records fields were formated as shortdate dd/MM/yyyy and on the dgw records date reprezentation is also like that: dd/MM/yyyy. For exemple I am trying to change the date 29/11/2006 into 27/11/2006 but the following error message appears right on the dgw edit mode: System.FormatException: String was not recognized as a valid Date Time I was wondering if anyone can help me out This is most likely caused by the system date time format being MM/dd/yyyy to set it otherwise: System . Globalization . DateTimeFormatInfo . CurrentInfo . ShortDatePattern = "dd/MM/yyyy" ...Show All

  • Visual Basic Windows service does work every 24 hours

    How do I set up a Windows service to do work once every 24 hours. I have read that using a loop that checks the desired time to the current time is a good solution, but I am wondering if there is a better way. I want to accomplish something similar to Windows Update. Hi Have you considered using Windows Scheduled Tasks in this scenario Is there any particular reason why you need to use a Windows Service Scheduled tasks will save you development time and avoid costly consumption of system resources by avoiding infinite loops or using timer objects. This is an ideal candidate for a shceduled task. Thanks Colin ...Show All

  • .NET Development ADO.NET - Trying to copy a table from one DataSet to another

    I'm currently working on a program which merges multiple data sources together before presenting them to the user. The data sources are mostly Excel workbooks, and I'm using the OLEDB pieces of ADO.NET. I can't use Excel interop, unfortunately, due to IT restrictions. I've written code to create a temporary Jet database, but I can't seem to copy data from the "source" Dataset (which is just a copy of the Excel data) to the "target" Dataset. Or rather, I can, but I can't seem to make those changes be reflected in the temporary database -- I can fill the Dataset, but I don't see a way to update the data source with that new data. I've looked through the ADO.NET documentation but can't seem to find an answer. Does anybo ...Show All

  • Visual Basic Can you create sql statements by editing the *.xsd file?

    On the page asking for a specifig SQL SELECT WHERE statement from the TableAdapter Query Configuration Wizard, I want to create a sql statement that selects all the rows with a common condition: SELECT FirstName, Address, State, Zip, Phone FROM Database WHERE LastName = 'X' How can I make 'X' a dynamic variable derived from combobox.items.item(combobox.selectedindex).tostring (if combobox.selectedindex >-1) Edit: I found that the above statement does not work (combobox.items.item(combobox.selectedindex).tostring) to display the string value of the selected item. Can get the string of the selected combobox item to display without using TableAdapter.GetData.Item(combobox.selectedindex).LastName.tostring Thanks, but I found creating ...Show All

  • .NET Development MS06-061

    last night, wedenesday, i, for the first time, noticed a microsoft vulnerability on my pccillen scan; referring me to the vulnerability addressed in the microsoft MS06-061 bulletin . i can't figure out how to solve this particular vulnerability. "the microsoft vulnerability" MS06-061; rated as "very risky," by my pccillen security software; continues to be identified by my security software; no matter what actions i take! i am dedicated to the following ongoing practices AND have taken the following steps, attempting to address this vulnerabilty, with no success: i am religious about updating and scanning my computer (I scan it daily, with "full system scans"; using not only my pccillen, but a ...Show All

  • Visual Studio Team System Source Control and Workgroup Edition

    I have work group edition installed but can not find away to get source control working or have my visual studio show any options of source control. Is there something else i need to install To i need to install SafeSource Do you mean you can't find it in your client machine I suppouse you already installed Team Explorer on that client machine, can you go in your Visual Studio, to "Tools","Options", "Source Control" and check you have "Visual Studio Team Foundation Server" selected ...Show All

  • Visual Studio "find" on table adapter

    how do I find and focus on specific record on a form using the table adapter. There must be a specific code of locate a specific value, in a specific column, and point to it... You can use .Select() method of DataTable to find any value. Please check the following sample: DataRow [] foundRows; foundRows = DataTable.Select( "Column = '" + 'Value' + '" ); if (foundRows.Length == 0) { //no records found } else { YourVariable = foundRows[0][1].ToString(); } Hope this helps. Regards, Asif ...Show All

©2008 Software Development Network