Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

aarontan

@aarontan
About
Posts
16
Topics
8
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Remove the repeated fields values from the Data Grid.
    A aarontan

    I think manupulate the data in the data source like data table before to bind them to the datagrid. Like after retrieveing the data into the data table, use sort by country. Then loop through each row to see if the next row has the same country or a new country. If same country, set the country cell to ''. juz my thoughts. Aaron

    ASP.NET css tutorial

  • Hi..Plz Solve my prob
    A aarontan

    hm..after getting ur month value, insert the relevant days into the second drop down list using if else statments? not really efficient i think.

    ASP.NET csharp javascript asp-net tutorial

  • Web forms controls problem
    A aarontan

    Hi, I have created a few web forms which include some drop down lists and list box. I encounter a problem of the controls not redraw or repaint when i scroll down the page. The control will take some image and deem disappear. However when i go and click on the control, it will be redrawn and it will appear again. Anyone got any idea how to solve this problem? Thanks. Aaron

    ASP.NET asp-net help tutorial question

  • Crystal Report Deployment in C#
    A aarontan

    Hi all, I got a pressing question which i needed help answering. I have develop a crystal report in vs 2003.net using c#. I am able to run it smoothly on the development machine. However when i deploy it at the client side, the crystal report keep prompting me to log in although i have hardcoded the logOnInfo. A part of the code: CrystalReport1 rsource = new CrystalReport1(); rsource.SetDatabaseLogon("uid", "pwd", "server1","db1"); this.crystalReportViewer1.LogOnInfo = new TableLogOnInfo(); this.crystalReportViewer1.LogOnInfo.Add(logOnInfo); this.crystalReportViewer1.ReportSource = rsource; Any idea wat went wrong? :confused:

    C# csharp question visual-studio sysadmin help

  • 2 server
    A aarontan

    tks for the reply... ok i tried that...I'm guessing i could use the number property to specify the error that i need to process..Also, there's one thing that puzzle me. There is a ConnectionState.Broken...when will this state occur? i tried have a connection open..then pluck off the cable..so i thought this is suppose to be connection broken. However the state of the connection is still open. Is there anything that i can refer to as to detect a break in connection from an open connect?

    C# sysadmin tutorial question

  • 2 server
    A aarontan

    Hi, I have an application which will connect to server A. However if server A fails...it should try to connect to server B. I have no idea how to go about implementing this. Any suggestions? ;)

    C# sysadmin tutorial question

  • maintain focus in edit box
    A aarontan

    Tks. I resolved it using pic control and defining a WM_action message instead. Thought this would be neater. :-O

    C / C++ / MFC question tutorial

  • reset dialog box
    A aarontan

    I usually keep the default values in a config file..then read in from the file and update to the control values. Not sure if this is the best method. Aaron :doh:

    C / C++ / MFC question

  • maintain focus in edit box
    A aarontan

    How do i maintain the focus in a edit box? For example i was typing half-way in the edit box, however an event occur and the focus got changed. How do i set the focus to remain in the edit box. This is wat i tried to do when the event occurs if(m_alarmOn==false) { m_alarmOn= true; CWnd* prev = this->SetFocus(); prev->SetFocus(); CreateThread(0,NULL,CSecurityDlg::playSound,this,0,0); } The above code reside in a OnBtnClick function. So when alarm is on, the button will be auto click....and the alarm sound goes off.... But in the process of these, i might be typing in a editbox. So i will lose the focus...How do i get it to stay? :(( Aaron

    C / C++ / MFC question tutorial

  • Execute Twice
    A aarontan

    Anyone come across this problem where some of the afx_msg get execute twice? afx_msg like onButton1 get call twice...and AfxMessageBox("here"); also get execute twice....anyone know wats the problem? :omg: Aaron "To start a war takes the word "fight", To end it takes a whole lot more explanation"-- someone

    C / C++ / MFC help question

  • Dialog background picture
    A aarontan

    Tks man it works.

    C / C++ / MFC graphics question

  • Dialog background picture
    A aarontan

    Hi, I have used the following codes to load a bitmap onto the dialog box for the background during onPaint.However I need to change the picture when i click another button. Is there a function which i can call to redraw the bitmap again? cos when i put these code into a function, it doesnt work. Any idea? [code] CDC BmpDc; CPaintDC dc(this); VERIFY( BmpDc.CreateCompatibleDC(&dc) ); CBitmap BkBmp, *pOldBmp; //BkBmp. BkBmp.LoadBitmap(IDB_background); pOldBmp = (CBitmap *)BmpDc.SelectObject(&BkBmp); dc.BitBlt(0,0,m_nW,m_nH,&BmpDc,0,0,SRCCOPY); BmpDc.SelectObject(pOldBmp); [/code] :confused: Newb VCer

    C / C++ / MFC graphics question

  • using vc++ dll
    A aarontan

    I have check on msdn, there is no float type for vb 6.0. Not sure about .net. I've look up several papers saying that when the vc function in the dll is using a pointer as a parameter, the vb-side of calling the function should be using byref. Aaron

    Visual Basic c++ help question

  • using vc++ dll
    A aarontan

    I am using a vc++ dll in a vb program. The function require a pass byref single type. because in vc++ it require a floating point pointer. However, the values I'm getting is wrong. Anyone got any idea what could be wrong? I guessing the values are read in the wrong direction. Thanks for any help. Aaron

    Visual Basic c++ help question

  • how to go about...
    A aarontan

    ok tks will look into the share format of the file. If i set it to share read, logically it should work. rite? Aaron

    C / C++ / MFC tutorial question

  • how to go about...
    A aarontan

    Hi, How to go about getting data from another running application? This is wat I am trying to do. There is program A running and storing data in the hard disk. I am creating a program which will retrive the real time data. This means that when i open the program, it will retrive the current data that program A is recording. However I do not run program B when A is running. I will run B as and when needed. Any idea? :confused: Aaron

    C / C++ / MFC tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups