Hi everybody! I have created a mobile application where I want to display a simple jpg image. All i do is put an image on mobile form and set its imageUrl to jpg image. But when I try to see it with my nokia 7600 cell phone it does not show the image, only its alternate text. But the phone is cappable of showing images becous I visited other sites with images. Can anyone help me out what should be done to get it work? I read about device filters, but as I understood, it has nothing to do with it if the phone is cappable of displaying that particular image. Thanx already
Marix
Posts
-
image control for mobile application -
image namethanx a lot!
-
image nameIn my web project I need to show pictures using datalist. So when I set image source to let's say src='GetPicture.aspx?id=[id]' everything works fine, but when someone wants to save that picture it being saved as GetPicture.aspx, so user has to manually rename it afterwards to something.jpg. Is there a way to tell image name and extension? Thank you
-
General network errorThe problem was that, that my host-server and sql server wad in one domain and they use different internal ip addresses, but I was given a different sql server address so I could reac it from outside the domain.:) So I got the real ip and everything works fine! Thanx
-
General network errorHi I have a very very simple web application that does only one thing - tries to open a connection to SQL server. On my PC it works fine. Connection is opened immediately! But when I put that application on my host server I get this error "General network error. Check your network documentation."!! The code is: private void Page_Load(object sender, System.EventArgs e) { this.sqlConnection1.Close(); this.sqlConnection1.ConnectionString = "Data source=myServerIPAddress;Initial Catalog=dbName;User ID=user;Password=passwd"; try { this.sqlConnection1.Open(); } catch(System.Data.SqlClient.SqlException ex) { this.Label1.Text = ex.Message; } finally { this.sqlConnection1.Close(); } } Doeas anyone know why is that so? I tried tu turn pooling off, set bigger timeout but useless!
-
user controlsHi, I have an aspx web application and few usercontrols. I was wondering if there is a way I can show load these controls at runtime. Forexample, in one case I want to show one control, but in other case I want to show different control in the same web page?? can anyone help me? thenx
-
Automating word documents from C#thenx you both, it really helped me a lot. I do not know but I forgot about such a thing as RichTextBox!!:)
-
Automating word documents from C#I am new to office development so I have a question. I have a database where rtf files are stored in image filed. From my application I need to show this rtf document in word application. I think I have to use office application PIA's. One solution would be to save this image filed (rtf document) in some temp directory but then I would not be able to delete this file becouse I would not know when the user would stop using it. So is there a way I can open this image field (rtf file as System.Byte[]) in word application not saving it before on physical drive? thenx a lot
-
Text wraping and Html tagsThanx for first question. About second, I ment that if I enter long word (100 chars) I store it in db and then display it in datagrid. And datagrid does not wrap it automatically! thanx
-
Text wraping and Html tagsis there a built in way (in asp.net - c#) I can strip html tags from input string (validate), some function or built in class that provides such a functionality? Is there similar function in c# similar to php function StripHTMLTags()? And second question is there a function that wraps text, if it is longer then certain count of characters? I know there is built in requestValidate property of tag, but I want to make custom validation! Thanx a lot
-
Encoding problem!Hi, I have an oleDbAdapter which read data from visual fox tables into DataTable! But unfortunately the encoding is different (or something else), so I get strange characters (not all but a few). In general I must get this text in appropriate encoding so it looks laike a normal Latvian text! Does anybody know some solutions? thanx anyway
-
authentication??I created an ASPX application. Then I set authentication mode to "Forms" and specified an loginUrl in web.config file. But it does not take an effect. When I request the source IIS does not redirects me to login page as authentication would be set to windows mode. No errors, nothing. does anyone have an idea what could be wrong? I am using IIS 5.1 and XP! thanx
-
Crystal Reports?No, the thing is that I do not know what kind of table I will use in advance. What I need is application that gets a dataset with one table that need to reported! So I do not know how to build a report from a scratch. I know how to set a datasource for report but how to add columns (fields) to it I do not know! Of course if it is possible at all.
-
Crystal Reports?I need to make a new crystal report at runtime! So I make new instance of crystal report wich has only title and datetime fileds. So I need to add columns and datasource to it. But how I do not know! is there any way how to add datafields to report? there is only a method for setting datasource. Can anyone help me out? thanx a lot
-
RecordSelection in Crystal ReportsHi, I have a problem: I have an .NET application that uses Crystal Reports as reporting tool. I need to filter records. The problem is that I have just dataView.RowFilter string but Crystal reports do not accept it becouse they have their own syntax for selecting records. Is there any way i can give normal MS SQL syntax string to filter records? (I mean where clouse) Or I need to create translator from SQL syntax to Crystal syntax? Do not offer to use ADO.NET datasets, they work very slow. Thanx
-
Crystal reports?I just made a simple application with two reports where first one uses dataset and second one connects directly to database. Second one works much faster!:(((
-
Crystal reports?I am wondering is it ok that reports (crystal reports) works slower when you report from dataset??? I am asking becouse when I report from ADO.NET dataset, reports open very slow, but when I report from database (SQL) directly - it works faster!!!! thanx
-
Connecting to .DBF file????Can anyone tell me how to connect to fox database (dbf file) from C#? I tried to use odbcDataAdapter but I could not access data in my dbf file. Maybe i did something wrong or is there any other normal way how to retrieve data from dbf file? thanx a lot...
-
Crystal Reports?I have a big problem when reporting from MS SQL database! I created a report which should report from MS SQL db table T. When I try to show report it always prompts me to connect to database (ask me to enter username, password, server, database). It does that even if I programmatically set CrystalDecisions.Shared.TableLogOnInfo logOn = new CrystalDecisions.Shared.TableLogOnInfo(); logOn.ConnectionInfo.DatabaseName = "dbName"; logOn.ConnectionInfo.Password = "password"; logOn.ConnectionInfo.ServerName = "serverName"; logOn.ConnectionInfo.UserID = "userName"; logOn.TableName = "TableName"; Report.Database.Tables["TableName"].ApplyLogOnInfo(logOn); Why???? What am I doing wrong? thanx
-
Crystal reports??I have one crystal report, where I show all tables T fields. What I need is that those fields should look like a table with borders, like normal Excels table with black borders. First problem is that, I need to move those fields together by hand (or does crystal rep. have features something like access has?) And the biggest porblem that I do not know is: how to make fields with no data show? I made a single borders for all fields, but if the current field is empty, the crystal report suppreses it (no borders are shown)??? Does anyone knows how to make those borders be veasible all the time? Thanx