dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: vedikaledange

Search: Search took 0.01 seconds.

  1. Re: Importing a drag icon into a VB6 image object.

    You may try this code:



    private void OnDragEnter(object sender, System.Windows.Forms.DragEventArgs e)
    {
    Debug.WriteLine("OnDragEnter");
    string filename;
    validData=GetFilename(out...
  2. Re: How to make automatic browsing to images from database ?

    You could refer to the following code to display the image in MVC:



    // GET: Home
    public ActionResult Index()
    {
    List<ImageModel> images = GetImages();
    return...
  3. Re: writing file Filewriter.write(blob) windows10

    You may try this code:



    public void LogFile(string sExceptionName, string sEventName, string sControlName, int nErrorLineNo, string sFormName)
    {
    StreamWriter log;
    ...
  4. Replies
    1
    Views
    3,557

    Creating Basic Wrapper Class in C#

    Creating a Basic Wrapper.
    These three patterns, proxy, decorator, and adapter are all implemented identically. They are all wrappers at the basic level. The functionality they provide is how we can...
  5. Replies
    4
    Views
    1,060

    Re: Bind Multiple Tables data in Datagrid

    You may try this code to bind tables.

    Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load
    If Not Me.IsPostBack Then
    Dim sql As String = "SELECT TOP 10...
  6. Replies
    3
    Views
    788

    Re: image/icons in Windows form listBox

    You may try this code to add icon or image to listBox



    // GListBoxItem class
    public class GlistBoxItem
    {
    private string _myText;
    private int _myImageIndex;
    // properties
  7. Replies
    4
    Views
    895

    Re: Converting powershell file to C#.

    Thanks for helping out. Error got cleared.
  8. Replies
    2
    Views
    703

    Re: Custom Sync Tool

    You may try this code:



    public class FileSyncProviderSample
    {
    public static void Main(string[] args)
    {
    if (args.Length < 2 ||
    string.IsNullOrEmpty(args[0]) ||...
  9. Replies
    4
    Views
    895

    Re: Converting powershell file to C#.

    Yes, I am working on it but not getting desired output.
  10. Replies
    4
    Views
    895

    Converting powershell file to C#.

    I have tried this code, will it work to convert file to C#



    ## DEFINE FUNCTIONS
    function fcnLogEvent($strEventDescription,$strEventLevel) {$strDateTime = Get-Date -Format "MM/dd/yyyy...
  11. Replies
    1
    Views
    717

    Table View

    I am new to vb.net.
    I am not getting idea to connect to database server and get return values from table.
    Can anyone help me with coding to do it.
  12. Replies
    2
    Views
    3,278

    Re: CC and BCC not working in SMTP

    public static void Email_With_CCandBCC(String ToEmail,string cc,string bcc, String Subj, string Message)
    {
    //Reading sender Email credential from web.config file

    HostAdd =...
  13. Difference between Resonse.Redirect and Server.Transfer.

    In ASP.Net Technology both "Server" and "Response" are objects of ASP.Net. Server.Transfer and Response.Redirect both are used to transfer a user from one page to another. But there is some...
  14. Replies
    8
    Views
    1,065

    Re: MessageBox not working in vb.ne

    You may try this code:

    Private Sub cmdExit_Click(ByVal sender As Object, ByVal e As EventArgs) Handles cmdExit.Click
    Dim intresponse As DialogResult
    intresponse =...
  15. Replies
    1
    Views
    3,599

    Re: Img Collection

    try this code:

    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs"Inherits="Byte_array_gridview._Default" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0...
Results 1 to 15 of 15


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)