When you have code like this, please wrap the block of code in a <pre> </pre> tags. It makes it easier to read.
DJ Matthews
Posts
-
Reading from Comboboxes on a datagrid view (C++/CLI - Windows Forms App in VS2008) [modified] -
VB.Net - Crystal report direct to printer. Missing parameter values [modified]try this:
crReportDocument.SetParameterValue(ParameterName, Value)
-
VB code partially runs,,Can't see the problem [modified]Do this when you edit your message: <pre> **Your code here** </pre>
-
VB code partially runs,,Can't see the problem [modified]It would be nice if you would put your code in some <pre></pre> tags so it easy to read.
-
dropdownTry this:
ddlgvSources.SelectedValue = strValue;
-
I don't know why I have this errorWhat is the error you are getting? Just telling us you have an error won't help.
-
Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))Can you show us in code where you are getting this error? I've had this error show up when I use parameters in reports...
-
Webstats for developersIt might help to know what you are already logging.
-
I need an ebay programSo your basically asking for someone to be able to hack into the ebay database and get this information for you so you can win auctions? Wow. :wtf:
-
Refreshing a part of webSiteLink fixed above and try not to use <pre></pre> unless your submitting code of somekind
-
Refreshing a part of webSite -
Implementing web service issueTry this:
private void LoadData\_Click(object sender, EventArgs e) { DataSet ds = new DataSet(); UserWebService1.Service1 WebSrvc = new UserWebService1.Service1(); ds = WebSrvc.YouFunctionHere; }
-
Implementing web service issueCan I see the code you are using to call this web service?
-
Implementing web service issueWell, some code snippets would be nice. It would help us help you :) One possibility without seeing your code is that your web service methods are missing the "WebMethod" attribute: VB.NET
<WebMethod()> \_ Public Function HelloWorld() As String Return "Hello World" End Function
C#
\[WebMethod()\] public string HelloWorld() { return "Hello World"; }
-
Text Cahnging Whith BarCode Reader in TextBox C#Some barcode scanners have the ability to add a delimiter character to the start or end of the string the read will return. You can then check for this delimiter character to see if it came from your reader.
-
Project on College management systems [modified]Well, you have 2 choices: a.) Buy a book on JavaFX, get the specs form your teacher, then do the work (if you problems with something, go here[]) OR b.) drop the class and NEVER write another piece of code again.
-
SessionYou may want to try looking at the
cache
class. It's like a session, but it's application level(from what I've been reading about it) MSDN Link[] -
Mozilla site blocked by firefoxClicky[^] I just found this in the CP Daily News.... thought this might help. :thumbsup:
-
Anonymous browser -
Lost on how you would upload a file in VB.netOk, I finally figured it out. There is a property called
Request.Files
, It holds all of the data on the files that are being uploaded to that page. You can then loop through it and save the files to the web server. Code for anyone interested:Partial Class _Default
Inherits System.Web.UI.PageProtected Sub Page\_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If Me.Request.Files.Count <> 0 then Dim I As Integer For I = 0 To Me.Request.Files.Count - 1 Me.Request.Files.Item(I).SaveAs("C:\\some\\path\\Uploads\\" & Me.Request.Files.Item(I).FileName) Next End If End Sub
End Class
I'm not sure that's the best way to go about it, but it works! I think I may write up an article about this as I couldn't find this information easily ANYWHERE.