15,895,084 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 13958707 (Top 23 by date)
Member 13958707
9-Mar-20 10:30am
View
is it done by using visual ssdt?
Member 13958707
8-Mar-20 10:28am
View
Thank you! I tried the way as mentioned in the second link you have posted. Anyway I posted the solution that I came with and it works perfectly
Member 13958707
6-Mar-20 12:21pm
View
https://www.youtube.com/watch?v=YI2j4UaD2M8
This is what I was referring to about moving files from parent directory to archive folder. There should be a condition where csv files move to archive folder and the rest of the files should move to the error folder
Member 13958707
6-Mar-20 6:48am
View
I tried making 2 variables to both source directory and destination directory. when I run it, it stops with an error saying the path format is wrong
Member 13958707
6-Mar-20 6:01am
View
Thank you for the solution but I have already completed the data extracting part and loading it to the sql server. I want to move files from the parent folder to archive folder once inserting data is completed.
Member 13958707
21-Oct-19 7:07am
View
Since the length of the 2 arrays is same, iterated the array A. This works. Thank you!
Member 13958707
21-Oct-19 5:59am
View
static List<int> compareTriplets(List<int> a, List<int> b) {
}
The comparison should be done inside this method. In the main method the joined list is returned.
Member 13958707
7-Nov-18 23:17pm
View
what is value in this?
Member 13958707
26-Oct-18 3:49am
View
It worked. Thanks
Member 13958707
26-Oct-18 2:42am
View
Thanks. I'll see to it
Member 13958707
26-Oct-18 1:19am
View
yes but i want to know a way to filter the table with both question and answer
Member 13958707
9-Sep-18 23:15pm
View
and can't access the checkbox value as well
Member 13958707
9-Sep-18 23:15pm
View
export interface IModuleScope {
Init(): void;
SelectedIndustryAccountChanged(): void;
SaveModuleIndustry(): void;
IndustryReponse: model.admin.IGetIndustryResponse;
ModuleResponse: model.admin.IGetModuleResponse;
ModuleIndustryResponse: model.admin.ICreateModuleIndustryResponse;
SelectedIndustry: model.admin.Industry;
SelectedIndustryAccount: model.admin.IndustryAccount;
moduleType: model.admin.ModuleType;
module: model.admin.Module;
isActive: model.admin.Module;
}
export class ModuleController {
static $inject = ['$scope', '$filter', '$timeout', 'AdminService'];
constructor(private $scope: IModuleScope, private $filter: any, private $timeout: angular.ITimeoutService, private adminService: services.admin.AdminService) {
$scope.Init = this.Initialize;
$scope.SelectedIndustryAccountChanged = this.SelectedIndustryAccountChanged;
$scope.SaveModuleIndustry = this.SaveModuleIndustry;
}
private Initialize = (): void => {
this.adminService.GetIndustry(null).then((result: model.admin.IGetIndustryResponse) => {
this.$scope.IndustryReponse = result;
});
}
private SelectedIndustryAccountChanged = (): void => {
var request = <model.admin.igetmodulerequest>{};
request.IndustryId = this.$scope.SelectedIndustry.Id;
request.AccountId = this.$scope.SelectedIndustryAccount.Id;
this.adminService.GetModule(request).then((moduleIndustry: model.admin.IGetModuleResponse) => {
this.$scope.ModuleResponse = moduleIndustry;
this.$timeout(() => {
$(".sortable").sortable({
handle: '.table-forum',
//update: countTasks
});
}, 1000);
});
}
private SaveModuleIndustry = (): void => {
for (var i = 0; i < this.$scope.ModuleResponse.ModuleTypes.length; i++) {
if (this.$scope.ModuleResponse.ModuleTypes[i].ModuleList != null) {
for (var m = 0; m < this.$scope.ModuleResponse.ModuleTypes[i].ModuleList.length; m++) {
var request = <model.admin.icreatemoduleindustryrequest>{};
request.IndustryId = this.$scope.SelectedIndustry.Id;
request.IndustryAccountId = this.$scope.SelectedIndustryAccount.Id;
request.TypeId = this.$scope.ModuleResponse.ModuleTypes[i].Id;
request.ModuleId = this.$scope.ModuleResponse.ModuleTypes[i].ModuleList[m].Id;
request.IsActive = this.$scope.ModuleResponse.ModuleTypes[i].ModuleList[m].IsActive;
console.log(request);
//this.adminService.CreateModuleIndustry(request).then((industry: model.admin.ICreateModuleIndustryResponse) => {
//});
}
}
}
}
}
}
Member 13958707
28-Aug-18 7:46am
View
Thank you for pointing it. It should return the snap shot and it should be loaded to tje image list which I'm unable to do
Member 13958707
27-Aug-18 23:48pm
View
This worked perfectly. Thank you
Member 13958707
27-Aug-18 6:06am
View
Thank you!! It helped a lot
Member 13958707
27-Aug-18 5:50am
View
I need to generate an jpeg type of file. but this generates file type of file
Member 13958707
27-Aug-18 4:22am
View
Thank you. I'll give it a try
Member 13958707
27-Aug-18 2:29am
View
Image path is same but the name has to be different when saving it.
Member 13958707
27-Aug-18 2:21am
View
Any method to resizing it while preserving the aspect ratio?
Member 13958707
27-Aug-18 2:19am
View
Since i've defined a path, the image could be saved only once by the defined name in the path.
imgThumb.Save("C:\\Users\\Acer\\Pictures\\Camera Roll\\thumbnail2.jpg");
Member 13958707
27-Aug-18 1:45am
View
To upload the image I've used an open dialog box but for save i need to know if there's any way to save the image without using the save dialog box and it could be save images in the same folder with different names.
Member 13958707
27-Aug-18 1:45am
View
To upload the image I've used an open dialog box but for save i need to know if there's any way to save the image without using the save dialog box and it could be save images in the same folder with different names.
Show More