Sending SMS using vb.net or C#.net using vb.net or c#.net
My requirement is
I hav one csv file with these fields id,mobilenum,messgae,status.intiallu staus is 0.
once i read the all fileds and take that mobile number.using tat mobile number i need to send sms .after sending sms i shuld change status as 1
How to send sms thru coding (please dont provide any links.if it is provide also please give working links becox i checked codeproject .i didnt get any nice link.
and also provide the how to update the status field im csv file
To send SMS, you need some third party SMS providers. if you consul...How to get local app.config path for a .NET COM object used in aspx page
We have an application with two parts:
- An ASP.NET 2.0 web site - A VB.NET 2.0 class library (dll) which is compiled to be a COM component, so the public classes have a COM classid for each one.
Most of the operations in the web site are run in the server (in the normal asp.net way), but a few operations have to be run locally in the client PCs which are running the web browser. To allow this, we use COM: we place <object> elements in the aspx pages, with the classids of the right library class. We install some files in the client PCs, including a local app.config...How to get RS (From VB6) to .NET (VB.NET)
Hi Friends, I have requirement, there is one function in VB6 it returns a RS, I need to call that function in VB.NET, how to get those values into .NET, if can any body can help (pass me some code snippets), that will be greate, Thank you.Madhu... -Madhu
hey guys i got this one just by using fill method.-Madhu...Getting started .net website
Hi folks,Does anyone here know of a good website to just sit back and read for learning .net? Thanks in advance.Baldeep
Click the Get Started and Learn sections here.
Quite a few out there - - this one, has a lot of good videos - also ASPNet101.com, but then, I might be a little prejudiced David WierMCP/ASPInsiderASPNet101.com - where to look first!Please Vote for ASPNet101 - 'Best Community Resource'!Control Grouper - easily control properties for multiple controls with one control!Calendar Express - The Best HTML Calendar Generator on the web!(P....Net 2.0 Web application using Vb.net is unable to create object of another dll writen in C# .net 2.0
I habe created one ASP.net web application using Vb.net which is adding reference of dlls written in C# and .net 2.0. But whenever trying to create object of referencing dll, it is throwing error :Object reference does not set to an object. But, locally it is working fine,. In the server i have deployed the .aspx files and dll files in the bin. There were already an web.config in the server which is of .net 1.1. But checked it is retrieving value for that web.config correctly.
Should i have to deply any other files and if not what can be the solution for this? Please help.
So...How to get new web app to use .NET 2.0 on Win2K server using .NET 1.1 as default framework?
I have .net framework1.1 and 2.0 on our server running win2K. i have existing applications that uses asp.net 1.1, i also have a new app that use ASP.net 2.0. how can i set my new .NET 2.0 app to point to asp.net 2.0 without messing up my existing .NET 1.1 apps?
To specify the ASP .Net version fro a web application, do the followingIn IIS Manager select the web application -> Properties -> ASP.Net TabSelect ASP.Net version you want to use for the applicationRegards,PrashantDont forget to click "Mark as Answer" on the post that helped you.
But I am running Win2K...Using com object in vb.net
I successfully included in my web form an object of the DateTimePicker control 6.0 (sp4) - dropdownlist control. This is not native to vb.net. I want to read the entry of this object. Can anybody give a clue to this problem.J. Bouyea...Using VB6 with a .net Remoting object
Is it possible to run my VB6 application using a .net Remoting object? If not wich changes must be done to let it work.
I have an VB6 application, in future the business logic is distributet using .net Remoting. I don't want to rewrite the whole VB6 appliction to a VB.net application.
I understand how .net Remoting works. The host for my .net Remoting object will be a Windows application developed in vb.net.
I don't think so. VB6 is a little picky on it's references.Kay LeeMySpace.com - http://www.myspace.com/kragieInfrastructure GroupMySpace.com- C...Using COM Objects in a VB.NET Class
I hope this is an OK post for this forum - the only other place I could find for it is the ASP Conversion alpha one -
I'm converting some legacy ASP code into a VB.NET Class for use in a web application.
Here's the problem line:
Set Executor = Server.CreateObject("ASPExec.Execute")
Which returns this error when compiled:
error BC30807: 'Let' and 'Set' assignment statements are no longer supported.
If I take off the "set" from the line above, and recompile, i get this error:
BC30451: Name 'Server' is not declared.
How do you call a legacy COM...used a c#.net to vb.net converter and am now getting a syntax error.
ok I used a cool utility at http://www.kamalpatel.net/ConvertCSharp2VB.aspx to convert some c#.net to vb.net and it spit out a bunch of code which almost works but I am getting a syntax error on this line
Imports (StreamReader sr =
Shadows Function)() As StreamReader(objResponse.GetResponseStream())
I tried it that way and also like
Imports (StreamReader sr = Shadows Function)() As StreamReader(objResponse.GetResponseStream())
but either way gave the same error
Compiler Error Message: BC30035: Syntax error.
Line ....NET to COM question ( Dictionary in COM and .NET dictionary)
I need to write a data access code to replace the method of GetPerson() in COM data access, since the existing method is too slow. .NET can reduce the database round trips by using the dataset. The existing COM data access will stay except the GetPerson() method.
So I am going to call the .NET getPerson() mehtod from the COM,
The original GetPerson() method in COM just go to data base, pull data from 7 tables and write to dictionary.
If the .NET getPerson() can populate the COM Dictionary, that would be great!
I know .NET object can be directly assign t...COM .NET Interop
Hi, I need help here.. I have this problem.I have COM VB6 that call a .NET class library, and this class library use the .NET SAP Conector to extract the information from SAP. I receive the information from SAP in a DataTable, the problem here is that I dont how to return this DataTable to VB6 COM. I made a test, and I can return a String to COM and basic types, but I dont know how to do it with this DataTable.Thanks for your helpI really appreciate.
One alternative might be to add the DataTable to a DataSet and then convert the DataSet to an XML string using WriteXml().
That said, quic...use VB.NET and C#.NET code in the same C#.NET project
All-- Here is a sample that is "off the beaten path", (at least for me). Is it possible, in an ASP.NET application, using the code-behind page building technique, to have both pages written in VB.NET and pages written C#.NET?At http://www.WebLogicArts.com/DemoList.aspx there is a sample that shows that, (contrary to popular belief), it IS possible to mix ASP.NET pages built with C#.NET with ASP.NET pages built with VB.NET in the same VS.NET 2003 project. Note that this is just a "fun" sample to see if it can be done and I do not recommend this practice as a "standard" way of develo...Return an Oracle Ref Cursor to a .NET DataReader object by using the .NET Managed Provider for Oracle
I am wondering if anyone in this community knows the shorter way to return an Oracle Ref Cursor to a .NET DataReader object by using the .NET Managed Provider for Oracle, something likereturn (IDataReader) SqlHelper.ExecuteReader(ConnectionString, "GET_ACCOUNT", Id);
instead of using the way below (look at the C# code)
Stored Procedure create or replace PROCEDURE "GET_ACCOUNT"
p_ID IN ACCOUNT.ID%type, retCursor OUT SA.MYGEN.sqlcur
OPEN retCursor FOR
ID = p_ID