Topics
-
-
- Administrators
- 2 replies
- 1.1k views
was wondering if id make an API for our vending machine application (connected to the internet), currently we send request and read response directly to our database, for the revamp we would want to make it more secure, but cant decide what to do, was thinking of doing an httpwebrequest or our page (ssl), but we could also do an API (server-client) to make such request/response... which one do you think is faster or is there any other way?
Last reply by lamy, -
-
-
- Leaders
- 3 replies
- 1.2k views
Hi, I wanna use a FrameWork 2.0 Component in Visual Studio 2003 (C#), is it easy and possible? I wanna use the FrameWork 2.0 SerialPort component (it has to be the component, not with other serial port components) in my C# 2003 application i and don't know how to do this. Any help will be welcome. rgds Tiago Teixeira
Last reply by mskeel, -
-
-
- Leaders
- 4 replies
- 864 views
I've got a textifield, i like to control if its a nummeric input if the user changes the text. It should be a rounded number or a double with 2 digits how can i control if its a nummeric input?
Last reply by Jelmer, -
-
- 1 reply
- 811 views
Hi all, My problem is as follows, I have a database table which contains multiple columns, one of these columns is called "Custom7". If I attempt to insert or update and row, the command will execute correctly and all the data, except "Custom7" will be inserted/updated. I can understand why this column in particular is acting up, I have checked with the people that I work with, and they confirm that the stored procedures that I am using are correct. I have confirmed that the correct data is going into the stored procedure. I am not getting an error back from the stored procedure. And finally, the same code worked correctly in a SQL Server 2000, and works correct…
Last reply by Igor Sukhov, -
- 1 reply
- 1.2k views
So i have a webservice that i have done in C# .NET. <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <GetCardTypesBySystemId xmlns="urn:OurService" xmlns:ns1="http://my.domain.com/webservice/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ns1:systemId>2</ns1:systemId> </GetCardTypesBySystemId> </soapenv:Body> </soapenv:Envelope> My webservice is expecting the variables just to be syste…
Last reply by Igor Sukhov, -
-
- Administrators
- 1 reply
- 1.1k views
trying to deploy sproc as web service. Posted on: 03/06/2006 02:52:27 i have written a simple sproc and i want to expose it as a web service. heres the code i thought should do so: Create ENDPOINT TestWebService5 STATE = STARTED AS HTTP ( PATH = '/TestWebService5', AUTHENTICATION = (integrated), PORTS = (clear), site = 'Dbrmsiis01' ) FOR SOAP ( WEBMETHOD'TestWebService' (name='Rebate.dbo.TestWebService'), DATABASE = 'rebate', WSDL = DEFAULT ) now the server Dbrmsiis01 is a different, IIS server on the network. the server that sql server is on is different. everytime i try to view the WSDL, its not on the se…
Last reply by PlausiblyDamp, -
-
- 0 replies
- 1.2k views
I m creating a report which has sub reports in it. Sub report has formula fields.. can i access that formula field of sub report in main report. If yes than please tell me how can i do this. Anyone can help me ???
Last reply by ananda852003, -
- 0 replies
- 875 views
I am developing an ASP.Net application which contains electronic paperwork: I have an ASP.Net form for each type of paperwork form, the form's data is stored in an SQL Server database, and I have a report page for each form type (which echoes an individual form's data onto the page). My current system is fine for viewing/printing forms one at a time, but the client wants to be able to print multiple forms clicking only one button (ie: print all forms filled out yesterday). Since I already have individual ASPX pages for reporting each form type, I want to keep using them if possible. Is there a way to loop through and automatically print the appropriate page for each…
Last reply by Pizzor2000, -
-
- Leaders
- Administrators
- 3 replies
- 1.8k views
I like to do something if i press enter in a textfield.. so i found this code: if(e.KeyChar = Chr(Keys.Enter)){ //my things... } But that doesn wordk.. he doesnt know the .keychar and the Chr... Why not ????? Or is this for the normal C# and not for C#.Net ?? How to change ? Thanx, Jelmer
Last reply by snarfblam, -
-
-
- Administrators
- Leaders
- 17 replies
- 1.6k views
I'm using GDI32 to TransparentBlt graphics to the screen about 10 times a second. But after about 10 seconds I start to suffer severe slowdown. This is the sprite.draw function I have created for my sprite class. Public Sub Draw(ByVal targetGraphics As Graphics, ByVal ImageType As TileImage, ByVal Tile As Integer, _ ByVal DestX As Integer, ByVal DestY As Integer) Dim X As Integer Dim Y As Integer Y = Math.Floor(Tile / ImageType.RowCount) * ImageType.TileHeight Math.DivRem((Tile * ImageType.TileWidth), (ImageType.TileWidth * ImageType.RowCount), X) 'Row and Column (X & Y position) of the tile to draw Dim offscre…
Last reply by Nate Bross, -
-
- 1 reply
- 878 views
I'm trying to walk through the example at this link for logging unhandled exceptions in the event log. When I run the example and try to get an error, I get the normal error message and my program shuts down... it doesn't log the error. Anyone know what to try to get this to work? thanks Article found here: http://www.quepublishing.com/articles/article.asp?p=31321&seqNum=5
Last reply by reagan123, -
- 1 reply
- 2.6k views
When i go to start a new project, and i want to create a windows app, i cant find the windows app template. there are no templates except blank template. if i add a blank template and go to solution explorer and try to add a form or new project all i am offered is sql analytical services and reporting services. how do i go about installing all the templates that usually comes with visual studio? im running visual studio 2005, and i think its enterprise edition. if i create blank project and try to add a form , i cant. all i can add is things like cursor, xml doc, , xsl scheema, html page and a few more things like that, but there are no forms or classes to select. a…
Last reply by Cags, -
-
- *Experts*
- Leaders
- 6 replies
- 6.3k views
I would like to have the possibility to trace with the normal stack dump the actual values of the parameters? Does anybody know how to get them from stack ? In detail: with stackTrace.GetFrame(frameCount); and stackFrame.GetMethod(); I can get the called methods on stack and with reflection the type and count of the parameters but i can see no way to get the actual value of each parameter which would help a lot in a log-file in case of an exception!
Last reply by mskeel, -
-
- 1 reply
- 1k views
I'm fixing an ftp program at the moment and I'm stuck. The ftp server is on Windows. The timeout on the server is about 120 seconds, I want the transfer to resume where possible. To test this I pull the network cable out of the computer then put it back in. This works if I do it for a few second intervals and it starts up. If I do this for say 10 seconds the server kicks me out "Remote host has terminated your connection" or similar mesage. Anyone got any ideas? The same thing happens when using FileZilla. Are they any commands I can send to sort this???? Thanks, Tim
Last reply by Tim Field, -
-
- Leaders
- 1 reply
- 831 views
Ok, got my collection working (finally) .... So I think I am going fine, but I need another bread crumb. I would liek to make a property of an item that points back to its parent such as can be done with the datatable.row as below in the debug.writeline statement. Dim dt As New DataTable Dim dr As DataRow dr = dt.NewRow Debug.WriteLine(dr.Table.TableName) Any ideas?
Last reply by snarfblam, -
-
-
- Leaders
- 8 replies
- 1.2k views
I have a program, that can create a chart with System.Drawing. Is it possible when the chart is created, the chart is the image for a Picture box? So when the chart is created, it will direchtly shown in a picture box. Is that possible?
Last reply by snarfblam, -
-
-
- Leaders
- 4 replies
- 3.9k views
I've this function: public static Color GetRandomColor() { Random random = new Random(); return Color.FromArgb(random.Next(256), random.Next(256), random.Next(256)); } I use this function here: int[] values; string[] legends; Color[] colors; values = new int[10]; legends = new string[10]; colors = new Color[10]; int i = 0; while(reader.Read()) { values[i] = Convert.ToInt32(reader.GetValue(reader.GetOrdinal("total_played"))); legends[i] = reader.GetValue(reader.GetOrdinal("history_artist")) + " - " + reader.GetValue(reader.GetOrdinal("history_title")); colors[i] = ChartUtil.GetR…
Last reply by MrLucky, -
-
- 1 reply
- 1.1k views
Ok, I have this piece of code: private void CreateMostPlayedChart() { PieChart chart = new PieChart(); MySqlConnection conn = new MySqlConnection(); MySqlCommand command = new MySqlCommand(); MySqlDataReader reader; // // Build legend and value array // conn.ConnectionString = this.conn_string; try { conn.Open(); try { command.Connection = conn; command.CommandText = "SELECT COUNT(history_id) AS total_played, history_artist, history_title, history_date " + "FROM winamp_history " + "GROUP BY history_artist, history_title " + "ORDER BY total_played DESC " + "LIMIT 0, 10"; reader = command.Exec…
Last reply by MrLucky, -
-
- Leaders
- 2 replies
- 899 views
I have the following strongly typed class... I would like to use a for... each loop to iterate through collections.... Is that possible. Public Class Tags Inherits CollectionBase Default Public Property item(ByVal index As Integer) As Tag Get Return CType(List.Item(index), Tag) End Get Set(ByVal value As Tag) List.Item(index) = value End Set End Property Public Function Add(ByVal item As Tag) As Integer Return List.Add(item) End Function End Class
Last reply by rmatthew, -
-
-
- Leaders
- 2 replies
- 868 views
I have an array of a custom class that I have written. I have attempted to do an indexof to check for equality (i.e. is there a copy of the class already assigned to the array.) Array.IndexOf doesn't seem to work, and if I check for direct equality then I do not get what I would expect there either... Must I create an equality of some sort in the class it self?
Last reply by snarfblam, -
-
Who's Online 0 Members, 0 Anonymous, 57 Guests (See full list)
- There are no registered users currently online