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

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

Deeps_123

Member List

Kees_de_Waard
Sam_res03
Redscope
John Turnbull
Steven D
Kishorepbp
John Bailey
Rickard1
dams
Nihad
Dewald Viljoen
Sjas
Brad Christie
Eric Lindahl
a_jam_sandwich
Hristo Atanasov
jeffreyJS
ShawnE
John.Doe
thaer_r
Only Title

Deeps_123's Q&A profile

  • Windows Forms Problem to change datasource from datagridview (DataGridView bug ?)

    Hello all, I've a datagrid DG1. I fill it's datasource property during runtime with a procedure (PROC1). The first time i fill the datasource (with a datatable), it's okay. Then, i try to associate another datatable to this DG with (PROC1). Before the association, i do DG1.DataSource = null and after DG1.DataSource = NewDataTable (NewDataTable is ok). Data are not visible in the DG1 and then, when i click on the header, data become visible (There are no code associated with this event). Has someone an idea with this pb Is this a DataGridView bug Thanks in advance for your help. Raphael Here is a part of my code (Client.RechercheListeClients return a DataTable : Client.NomClient = ...Show All

  • Visual Studio Express Editions DHTML controls

    how do i get the copy, cut and paste controls to work with the DHTML box Im trying to create a html editor and im using the DHTML edit control for IE5, its a COM component. I want to be able to use the copy, cut and paste tools but they do not work like with the RTB (RichTextBox.copy) How do i get these to work They are not in the toolbox ...Show All

  • SQL Server Excel Source Returning NULL

    I've a package that has a excel source. But i'm having a strange problem with it. One of the columns in the source file have a lot of null values but not all of them. But when i run the package a put a data viewer right after the source and i can see that it's showing that the few fields that should have values are also null. I've tried a lot of things but they didn't work. I need some help and fast if possible. Example: Source file.xls Name Grade OtherGrade John 30 30.23 In the DataViewer Name Grade OtherGrade John 30 NULL thanks Adriano Coura I will take advantage of this tread to ask the important question about the problem. Here in Brazil the id of a person can come with ou without letters like: m11 ...Show All

  • Windows Forms DataGridView - Double Click

    Hi, I'm using vb.net 2005. I was able to view data in datagridview but when I try to setup double click to find the name and ID number of datarow like 2003 version, I get an error. Dim gridPoint As Point = grdClients.PointToClient(Windows.Forms.Cursor.Position) Dim hti As DataGridView.HitTestInfo = grdClients.HitTest(gridPoint.X, gridPoint.Y) If hti.Type = DataGrid.HitTestType.Cell Or hti.Type = DataGrid.HitTestType.RowHeader Then Dim dtRow As Integer = hti.RowY Dim dv As DataView = CType ( Me .grdClients.DataSource, DataView) <- this is where i get a error (Unable to cast object of type 'System.Data.DataTable' to type 'System.Data.DataView'.) Dim ThisFieldID As String = CType (dv(dtRow ...Show All

  • SQL Server problems displaying images

    Hi I have a query that returns a companyname eg. "ACD". This info is then saved in a parameter. On the logo (which depends on company), I use this parameter value to the pick up the right picture like this: =Parameter!.company.Value &"_logo.jpg" The image is there on the server an the path is correct, but the image is not displayed! What is wrong I think you're misunderstanding. Use a URL to access the LOGOs (not the report). In other words, host your images on a website and access them from there instead of from windows. If you don't have a website, set up an account at http://photobucket.com/ and host your images there. It's quick and simple. ...Show All

  • Windows Forms Calender Control to View Data by Date, Weekly , Monthly

    Hi all I am developing a contact management system... I have to record appointments given to my clients. On Veiwing the data .. i have to see them using Calendar Controls in form of Dailywise, Weekly and Monthly.. Pls tell me the best ways to develop this one.... Thanks in Advance.. Hi,Kirthik Raja To achieve what you want, try to use a MonthCalendar control,and handle its datechanged event, put your logic while handling this event. Hope it helps. Best Regards. Ye ...Show All

  • Visual Basic How to set a printer to be the system default printer?

    Hi all, first of all: please be pateient with me as I'm not at all an experienced VB programmer. Reading lots of articles on MSDN I learned how to use PrinterSettings and PrintDialog and control printer settings. What I didn't find, though, is a way to make one of the installed printers the system default printer using VB 2005 Express. If - for some reason - that's not possible using VB 2005 Express, there's still a 2nd option; in the forums I found a link to a technote explaining how to set the default printer using VB 6.0 / through Win32 API calls (http://support.microsoft.com/default.aspx scid=kb;en-us;266767). I'd like to avoid the hassle, but if necessary I would do it. Unfortunately, I don't know how to retrieve the CURRENT system de ...Show All

  • Windows Forms When pressing the <Enter> Key the last dialogue appears again!

    hi, consider this code: Private Sub Tname_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Tname.KeyPress Dim fo As OnlineSearcher 'this is a form If e.KeyChar = Microsoft.VisualBasic.ChrW(13) AndAlso Me.Tname.Text.Trim <> "" Then ''''''''''''''''''''''''''''''''''''''''''''''''' fo = New OnlineSearcher(Me) fo.ShowDialog() End If 'key=13 End Sub After the user dismisses the dialogue (OnlineSearcher ) and navigates to another text object like this: Private Sub tchequedt_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles tchequedt.KeyPress If e.KeyChar = Microsoft.Visua ...Show All

  • SQL Server Flat File Source, bad format does not fail

    I've got a flat file source which is a CSV file importing into a SQL table. The flat file has header columns and the connection manager for the file is checked for "Column names in the first data row". Everything works as expected when the file format is right. What's confusing is when I randomly hack the source file to pieces so that column headers are missing the SSIS package still executes fine and doesn't report any errors. The only difference being no data makes into the SQL tables. My hope was to get some kind of error in the flat file source component saying certain column headers are expected which were missing as happened in Sql 2000 DTS Packages. This package is being run from the web by users who upload the file. The f ...Show All

  • SQL Server Logging in SSIS

    Logging in SSIS as compared to DTS is more complex to set up with so many events. What events should I choose if I need something similar to DTS package logging i.e. I simply want to see which tasks executed at what time and whether they failed or succeded and if they failed, what was the error I use custom tables as my primary logging mechanism and I use the builtin logging as a secondary mechanism. I use Reporting Services to generate reports from my custom tables. I'm also using the free reports from MS to look at the builtin logging tables. Thanks, Greg Van Mullem ...Show All

  • Visual Studio 2008 (Pre-release) Avalon databinding/threading problem

    I'm building an app that has to show a network graph (you know, vertices and edges). The graph is constructed in a separate thread from the UI thread based on sent and received network packets. Now, I want to update the UI showing the graph changes. I have already read a lot about Avalon threading, but I just don't seem to get it working. Is there anyone who can give me a tip on how to solve this issue The Graph object has two collection properties that I want to deal with in the UI, like this: public class Graph<T> { public Collection<T> Vertices; public Collection<T> Edges; ... (a bunch of add/remove stuff) } First I have a graph control that I want to bind to Graph.Vertices and Graph.Edge ...Show All

  • Visual C# Help - folder's property dll

    Hi.. In windows , when we right click on any folder or file, we get properties . In the properties we can see General/Security etc.. Is it possible to get the properties dll in c# please help how to use the property dll for a file or folder while creating a context menu item(like winzip). In folder property menu item, we can see Type, location, file size, created by, contains.. I want to create a similar application.. Please help ...Show All

  • Visual Studio 2008 (Pre-release) error logging in while publishing on uddi

    Hi, I am trying to publish my service on uddi but even pefore publishing it is giving me error of user login failed while my login and password is correct. I tried to access the web UI on the link http://test.uddi.microsoft.com so that i can check whether there are some problems with my login information or not but i cant really access the publishing UI on this link. so can anyone help me with the prob why isnt it logging in programatically and secondly where can i find web UI to publish. the code is as follows: Publish .Url = "http://test.uddi.microsoft.com/publish" ; Publish .User = "my login name" ; Publish .Password = "*************" ; //Create tModel SaveTModel stm = n ...Show All

  • SQL Server Multivalue Parameter against Oracle 9 datasource?

    Everything I have read says that this is possible in Oracle 9 and greater versions, but I can't get it to work... Here is my query: select * from employee where employee_id in ('111','222') This works fine in the data tab until I replace the values with a parameter. I get the pop-up to enter the parameter values but no matter how I enter them, I don't get any rows returned. I've tried entering them as '111','222' and as 111,222 and changing the parameter type from a string to an int, but nothing seems to work. I am running this on SQL Server RS 2005 and my Oracle driver (Oracle in OraHome92) is version 9.02. Yes, multi value query parameters are only supported through the "Oracle" d ...Show All

  • Visual Studio Express Editions C# and Web Page Properties

    Hi I'm writing a C# application which takes a list of web page urls and compares a stored version of each page with the current online version. If the online version is different to the stored page then the stored page is updated and flags are set indicating to the user that a page has changed. My main problem is how do i access the modified and page size of web pages I'm thinking that the best way to do this is to compare the page size in bytes and the last modified date with each stored page. If this isn't the best way to do things, please could you advise what would be a better way. Thanks in advance Kev Hi, The following code will retrieve the requested page only when it was modified mo ...Show All

©2008 Software Development Network