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
H

Hema Bairavan

@Hema Bairavan
About
Posts
173
Topics
88
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Opening new WPF form in seperate thread.
    H Hema Bairavan

    Hi Sledge, Thanks for your reply. And you are right i am doing in the back ward only. But the thing is, I have more the 20 forms in my application which have different functionality. And even in single form i have more than 5 buttons which will do different business logic's. So that is reason i wanted to do this approach, other wise i need to create separate background workers for all buttons or single background worker with different parameters.. which is more messy. So i planned to have a separate progress window which can be accessed across all the forms. But as we know both are in same thread causing issue. i planned to open and use the new window in different thread. Expecting your reply thanks in advance.

    WPF csharp wpf design business help

  • Opening new WPF form in seperate thread.
    H Hema Bairavan

    Dear All, Good day. Need your help on threading. I want to use a wpf window as progress window across my project. On the main UI thread while doing the business logics i need to open a new wpf window in separate thread as progress window and once the Business logic is done i want to close the same. I googled and found couple of examples to open a wpf window in separate thread and with new STA.. but am not able to find how to close the same window once done. My progress window doesn't allow the user to close it. global variable progresswindow _pw = new progresswindow(); ShowProgress() { _pw.Show(); } HideProgress() { _pw.Hide(); } MainThreadBusinessLogic() { LogicStarts... ShowProgress(); LogicEnds.. HideProgress(); } This is wat i wanted to do. But as the main thread is very busy it wont show the progress window i know. I used the background worker and showed the progress bar.. But the thing is i have different business logic which will work based on the users clicks.. so i may need to create different workers for handling those. If i do something like above mentioned window as progress window i can commonly use the same for all places. Hence request your help here my friends. thanks in advance.

    WPF csharp wpf design business help

  • Converting WPF windows application to Web Application.
    H Hema Bairavan

    Thanks paulo for your time on replying. Will check on this and update you once it is done. thanks

    WPF csharp wpf help tutorial question

  • Converting WPF windows application to Web Application.
    H Hema Bairavan

    Abhinav S wrote:

    Hema Bairavan wrote:

    2)if i go with WCF or entity with local servers wont it help me regarding handling data and image data types with centralized server?

    Sorry but I dont understand your conecrn here.

    No, Actually my issue was to handle the image through centralized server. So i thought to host the web application and db server in the same machine. if i use ado.net it will work fine and also its working fine now. But if i go for wcf or entity model, will it also take more time to give me data having image data type?

    Abhinav S wrote:

    Hema Bairavan wrote:

    1. And regarding XBAP, Will it download the xbap file exe to the local machine and it will work from local desktop like windows application like that it will connect db via internet only rt?

    Yes, an xbap file will be downloaded to you machine.

    Ok thanks for your reply. So, xbap will behave like local windows application, if i use ado.net to connect centralized sql server to get data having image data type it will also take time like windows application??? i hope with this reply our conversation will come to end :) Thanks as always.

    WPF csharp wpf help tutorial question

  • Converting WPF windows application to Web Application.
    H Hema Bairavan

    Dear Abinav, Thanks for reply. 1) So you mean even though i move to silver light also my issue wont get solved? 2)if i go with WCF or entity with local servers wont it help me regarding handling data and image data types with centralized server? 3) And regarding XBAP, Will it download the xbap file exe to the local machine and it will work from local desktop like windows application like that it will connect db via internet only rt? Sorry for asking couple of questions as i am in critial phase. Thanks in advance

    WPF csharp wpf help tutorial question

  • Converting WPF windows application to Web Application.
    H Hema Bairavan

    Dear Hanlon, Thanks for your time in replying. My WPF app is not using any local file system, am just allowing the user to select and save the image to the database. And yes i have some printing functionalities directly to the printer but that i can manage with some other reports and give a print to the pritner they have. I am not using MVVM frame work, i just using the code behind with three tier architecture to do the coding. So with this how can i proceed further please suggest. Thanks in advance.

    WPF csharp wpf help tutorial question

  • Converting WPF windows application to Web Application.
    H Hema Bairavan

    Dear hari, Thanks for your suggestion will try the same and get back.

    WPF csharp wpf help tutorial question

  • Converting WPF windows application to Web Application.
    H Hema Bairavan

    Dear Abinav, Thanks for your time in replying. Yes we can go with xbap application even i too thought that also. But my basic requirement of converting this wpf to an web application is that 1) I am connecting centralized sql server with ado.net which have image data type also, so when i connect to the centralized database and fetch the data and also image am getting huge delay on getting the same. I even asked a question on C# discussion forum on the same and they suggested me to go with image storage in physical drive and use web browser control to access the image. And instead of ado.net can use webservices. But my thought is that if we create an web application and host the application in same server where the data base server exists will solve my problem. Thats the reason i wanted to convert into web application. 2) According to my understanding xbap application is that, when we trigger that it will download the exe to the local desktop through browser and run from local machine. If that is the case once again i hope i will be getting the same issue. If its is not the case i hope xbap would be the right option for me. Please correct my if my understanding is wrong. Thanks in advance.

    WPF csharp wpf help tutorial question

  • Converting WPF windows application to Web Application.
    H Hema Bairavan

    Dear Buddies, Required your help / suggestion. I have created a WPF windows application. Now for some reason i wanted to convert the same to web application. Can any one please give suggestion on how to convert the same with minimal effort? Converting the application to silverlight would be easier? if so i googled on the same i am getting reply that need to use prism and all to acheive the same. Can you guys please suggest the way to convert my wpf application to web application with minimal effort. Thanks in advance.

    WPF csharp wpf help tutorial question

  • How to handle Image/Data from Centralized SQL Server
    H Hema Bairavan

    Ok Guys, Thanks for all your help and suggestions and your time for replying. With your suggestions and replies now am planning to change my application to take the image from shared disk using web browser control in my application and database connection would be using web services. So is this ok? Thanks again for all your help.

    C# help question csharp database sql-server

  • How to handle Image/Data from Centralized SQL Server
    H Hema Bairavan

    Dear V, First of all thanks for your time to replying to me. I have restricted the application to store the image size only less than 50kb, and even there also am getting problem. And i hope i could go for the option you said saving in the disk but once again as an windows application accessing image from a shared drive??? and regarding the security none other than me or my application is going to log in to the application none other foreigners. And i have only 5 records in my table.. Is there indexing will apply in this case? am getting the time delay on just putting a select statement of 5 records...

    C# help question csharp database sql-server

  • How to handle Image/Data from Centralized SQL Server
    H Hema Bairavan

    Dear Eddy, First of all thanks for your time to replying to me.. Regarding to the security i am using the encrypted password for the sql server, and only my application from various places going to access the DB with same user id and password so i hope security wont be an issue. And Its just a query only i hope, because when i put a select statement ignoring the image column am getting records bit faster (even though its late only when compared to query executed in normal LAN server) but when i query with image data type am even getting more. So getting into webservices will solve my problem? but how about images through web services?

    C# help question csharp database sql-server

  • How to handle Image/Data from Centralized SQL Server
    H Hema Bairavan

    Dear All, Request your help/Suggestion. I have created a windows application which will get data from centaralized SQL server having image datatype as well. And am using simple ado.net to connect to the SQL server and the connection will be made via internet. Now my problem is when i try to connect the SQL Server via internet am getting perfomance issue that it is taking much time to connect and get the data back from the SQL server. Now I need help from you experts that, 1) How to handle this data transfer from Centralized SQL Server to my Windows application effectively. 2) Will webservice work for me? if i convert the SQL Server connections through web services then the data transfers will be good? and also the image will come fast? Or please suggest me what is the effective way to get data from Centralized SQL server via internet. Thanks in advance Hema Bairavan

    C# help question csharp database sql-server

  • Need assistance on WPF
    H Hema Bairavan

    Dear Abhinav, Thanks for your time in replying to my question. You mentioned that eventhough my application after converted to xbap application it wont work for images. But my question is, am going to host the database server and the IIS server in the same machine. In that case it should work fine right? my windows application is working fine for this case.. when my application and the database server in the same machine its working fine. But i have one doubt. I read in the google that when ever user clicks the xbap , it will internally handles the exe downloads and all. Which means that everytime the user clicks the link will it downlaod the exe application? and will it run from local machine? can you please help me to get clarified on this? that is the case once again its going to be a windows application and will have same image problem?

    WPF database csharp sql-server wpf sysadmin

  • Need assistance on WPF
    H Hema Bairavan

    Hi All, I have developed an application in WPF with SQL server as database and the database table contains image data types also. My data base server is and centralized one and am accessing it via internet thorough sql adapter. Problem Now i have problem that it is taking more time to fetch the image data type records and also normal data also taking much time to fetch via internet. Clarification 1) I have an idea to convert this application to web so that the application server and the database server in the same box will retrive it faster and give the result. My application is in WPF, the best easy method is to convert it into silver light or wpf browser appliation? if it is wpf browser application can i host it into iis? 2) Or can i have the wpf application as such and change the database hit to the webservices? will webservice respond faster for data fetching also with the image data types? thanks in advance for your time in helping me pulling out of this crisis.

    WPF database csharp sql-server wpf sysadmin

  • Suggestion on using image data type in sql 2005.
    H Hema Bairavan

    thanks shameel.. i will check that case and get back to you.. thanks in advance

    Database database sql-server sysadmin tutorial question

  • Suggestion on using image data type in sql 2005.
    H Hema Bairavan

    once again thanks to you and shameel for your time in replying. as you peoples mentioned i can save the file in the web server. But as i mentioned earlier i will be using the windows application to save the images and i will retriving the same in windows application. In that case i need to share the folder (to all the machines ??? ) rt..it may cause security violation.. so there is only one way to store is database rt? so i need to compromise the perfomance of the applcication...

    Database database sql-server sysadmin tutorial question

  • Suggestion on using image data type in sql 2005.
    H Hema Bairavan

    Dear Shameel, First of thank you very much for your time to reply. Actually its not an file storage its an data storing.. say for example i want to store the details of an employe like name, age,sex ,address,... and his/her PHOTO... so here comes the image plays the role.. so this is the requirement. am bit confused to use the general MSSQL server to use it from internet as it will create problem by perfomance..or something. thanks

    Database database sql-server sysadmin tutorial question

  • Suggestion on using image data type in sql 2005.
    H Hema Bairavan

    Dear All, My requirement contains an windows application that can be installed any where over the world but the server will be in one place which will be accessed via internet. Note : the same db will be accessed from web application also for reporting. I plan to use MSSQL 2005 version and my db has image datatype also. i am using the image data type in the db, when i try to query this it is taking more time for replying... is it advisable to use the same? or is there any way to accomplish the same by using any other data types.. i tried usign varbinary (max) now the perfomance is little better than that.. but still slow. Please guide me . thanks in advance.

    Database database sql-server sysadmin tutorial question

  • Suggestion / Clarrification Needed.
    H Hema Bairavan

    Dear All, My requirement contains an windows application that can be installed any where over the world but the server will be in one place which will be accessed via internet. Note : the same db will be accessed from web application also for reporting. I plan to use MSSQL 2005 version and my db has image datatype also. I have plan to hire a dedicated server with mssql and databases to accomplish these things and save the data there. Now i need your suggestion for best practice. 1) for perfomance 2) using image datatypes as it will take time to transfer. if this plan is the right one can you please suggest some of good and effecient data centres that you know, and if its not good plan please suggest me the right plan.. thanks in advance.

    Hosting and Servers database sql-server sysadmin hosting discussion
  • Login

  • Don't have an account? Register

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